Skip to content

Commit 224ae19

Browse files
committed
chore: add workflow job to dispatch event to node-gptscript repo on tag
Signed-off-by: Taylor Price <[email protected]>
1 parent 22e0293 commit 224ae19

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,14 @@ jobs:
4242
run: |
4343
$url = "${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/gptscript-${{ github.ref_name }}-windows-amd64.zip"
4444
./wingetcreate.exe update --submit --token "${{ secrets.WINGET_GH_TOKEN }}" --urls $url --version "${{ github.ref_name }}" gptscript-ai.gptscript
45+
node-release:
46+
needs: release-tag
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: trigger dispatch
50+
uses: peter-evans/repository-dispatch@v3
51+
with:
52+
token: ${{ secrets.DISPATCH_PAT }}
53+
repository: gptscript-ai/node-gptscript
54+
event-type: release
55+
client-payload: '{"tag": "${{ github.ref_name }}"}'

0 commit comments

Comments
 (0)