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 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
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments