Skip to content

Commit 6966938

Browse files
committed
chore: remove ui dispatch from release workflow
Signed-off-by: Nick Hale <[email protected]>
1 parent ceed1e0 commit 6966938

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ jobs:
1212
release-tag:
1313
runs-on: ubuntu-22.04
1414
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 }}"}'
2215
- name: Checkout
2316
uses: actions/checkout@v4
2417
with:
@@ -47,11 +40,11 @@ jobs:
4740
steps:
4841
- name: Install winget-create
4942
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'
5144
- name: Create WinGet Package Update Pull Request
5245
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
5548
node-release:
5649
needs: release-tag
5750
runs-on: ubuntu-latest
@@ -84,4 +77,5 @@ jobs:
8477
token: ${{ secrets.DISPATCH_PAT }}
8578
repository: gptscript-ai/go-gptscript
8679
event-type: release
87-
client-payload: '{"tag": "${{ github.ref_name }}"}'
80+
client-payload: '{"tag": "${{ github.ref_name }}"}'
81+

0 commit comments

Comments
 (0)