Skip to content

Commit 9391556

Browse files
authored
Merge pull request #456 from drpebcak/dispatch
2 parents 1eea9c5 + 224ae19 commit 9391556

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yaml

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

0 commit comments

Comments
 (0)