File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 40
40
Invoke-WebRequest -Uri 'https://aka.ms/wingetcreate/latest' -OutFile 'wingetcreate.exe'
41
41
- name : Create WinGet Package Update Pull Request
42
42
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
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ builds:
15
15
goarch :
16
16
- amd64
17
17
- arm64
18
- ignore :
19
- - goos : windows
20
- goarch : arm64
21
18
flags :
22
19
- -trimpath
23
20
ldflags :
You can’t perform that action at this time.
0 commit comments