Skip to content

Commit ef213f0

Browse files
committed
chore: add Windows ARM64 build
Signed-off-by: Donnie Adams <[email protected]>
1 parent 4ea6fa1 commit ef213f0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ jobs:
4040
Invoke-WebRequest -Uri 'https://aka.ms/wingetcreate/latest' -OutFile 'wingetcreate.exe'
4141
- name: Create WinGet Package Update Pull Request
4242
run: |
43-
$url = "${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/gptscript-${{ github.ref_name }}-windows-amd64.zip"
44-
./wingetcreate.exe update --submit --token "${{ secrets.WINGET_GH_TOKEN }}" --urls $url --version "${{ github.ref_name }}" gptscript-ai.gptscript
43+
$amdurl = "${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/gptscript-${{ github.ref_name }}-windows-amd64.zip|x86"
44+
$armurl = "${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/gptscript-${{ github.ref_name }}-windows-arm64.zip|x64"
45+
./wingetcreate.exe update --submit --token "${{ secrets.WINGET_GH_TOKEN }}" --urls $amdurl $armurl --version "${{ github.ref_name }}" gptscript-ai.gptscript

.goreleaser.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ builds:
1515
goarch:
1616
- amd64
1717
- arm64
18-
ignore:
19-
- goos: windows
20-
goarch: arm64
2118
flags:
2219
- -trimpath
2320
ldflags:

0 commit comments

Comments
 (0)