ci: Attempt to release both x64 and arm64 builds for winget
This commit is contained in:
parent
2b38fe6f91
commit
f9f12a9500
1 changed files with 3 additions and 2 deletions
5
.github/actions/winget-publish/action.yaml
vendored
5
.github/actions/winget-publish/action.yaml
vendored
|
|
@ -21,12 +21,13 @@ runs:
|
||||||
Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
|
Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
|
||||||
|
|
||||||
$packageId = "Deskflow.Deskflow"
|
$packageId = "Deskflow.Deskflow"
|
||||||
$installerUrl = "https://github.com/deskflow/deskflow/releases/download/v${{ inputs.release-version }}/deskflow-${{ inputs.release-version }}-win-x64.msi"
|
$x64Url = "https://github.com/deskflow/deskflow/releases/download/v${{ inputs.release-version }}/deskflow-${{ inputs.release-version }}-win-x64.msi"
|
||||||
|
$arm64Url = "https://github.com/deskflow/deskflow/releases/download/v${{ inputs.release-version }}/deskflow-${{ inputs.release-version }}-win-arm64.msi"
|
||||||
|
|
||||||
# Submit package update
|
# Submit package update
|
||||||
.\wingetcreate.exe update "$packageId" `
|
.\wingetcreate.exe update "$packageId" `
|
||||||
--version "${{ inputs.release-version }}" `
|
--version "${{ inputs.release-version }}" `
|
||||||
--urls "$installerUrl" `
|
--urls "$x64Url|x64" "$arm64Url|arm64"`
|
||||||
--submit `
|
--submit `
|
||||||
--token "${{ inputs.token }}"
|
--token "${{ inputs.token }}"
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue