File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 12
12
release-tag :
13
13
runs-on : ubuntu-22.04
14
14
steps :
15
- - name : trigger ui repo tag workflow
16
- uses : peter-evans/repository-dispatch@v3
17
- with :
18
- token : ${{ secrets.DISPATCH_PAT }}
19
- repository : gptscript-ai/ui
20
- event-type : release
21
- client-payload : ' {"tag": "${{ github.ref_name }}"}'
22
15
- name : Checkout
23
16
uses : actions/checkout@v4
24
17
with :
@@ -47,11 +40,11 @@ jobs:
47
40
steps :
48
41
- name : Install winget-create
49
42
run : |
50
- Invoke-WebRequest -Uri 'https://aka.ms/wingetcreate/latest' -OutFile 'wingetcreate.exe'
43
+ Invoke-WebRequest -Uri 'https://aka.ms/wingetcreate/latest' -OutFile 'wingetcreate.exe'
51
44
- name : Create WinGet Package Update Pull Request
52
45
run : |
53
- $url = "${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/gptscript-${{ github.ref_name }}-windows-amd64.zip"
54
- ./wingetcreate.exe update --submit --token "${{ secrets.WINGET_GH_TOKEN }}" --urls $url --version "${{ github.ref_name }}" gptscript-ai.gptscript
46
+ $url = "${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/gptscript-${{ github.ref_name }}-windows-amd64.zip"
47
+ ./wingetcreate.exe update --submit --token "${{ secrets.WINGET_GH_TOKEN }}" --urls $url --version "${{ github.ref_name }}" gptscript-ai.gptscript
55
48
node-release :
56
49
needs : release-tag
57
50
runs-on : ubuntu-latest
84
77
token : ${{ secrets.DISPATCH_PAT }}
85
78
repository : gptscript-ai/go-gptscript
86
79
event-type : release
87
- client-payload : ' {"tag": "${{ github.ref_name }}"}'
80
+ client-payload : ' {"tag": "${{ github.ref_name }}"}'
81
+
You can’t perform that action at this time.
0 commit comments