Skip to content

Commit

Permalink
Merge pull request #568 from drpebcak/dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
drpebcak authored Jun 26, 2024
2 parents c8936c6 + e0064e0 commit b26476b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,36 @@ jobs:
run: |
$url = "${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/gptscript-${{ github.ref_name }}-windows-amd64.zip"
./wingetcreate.exe update --submit --token "${{ secrets.WINGET_GH_TOKEN }}" --urls $url --version "${{ github.ref_name }}" gptscript-ai.gptscript
node-release:
needs: release-tag
runs-on: ubuntu-latest
steps:
- name: trigger dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.DISPATCH_PAT }}
repository: gptscript-ai/node-gptscript
event-type: release
client-payload: '{"tag": "${{ github.ref_name }}"}'
python-release:
needs: release-tag
runs-on: ubuntu-latest
steps:
- name: trigger dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.DISPATCH_PAT }}
repository: gptscript-ai/py-gptscript
event-type: release
client-payload: '{"tag": "${{ github.ref_name }}"}'
go-release:
needs: release-tag
runs-on: ubuntu-latest
steps:
- name: trigger dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.DISPATCH_PAT }}
repository: gptscript-ai/go-gptscript
event-type: release
client-payload: '{"tag": "${{ github.ref_name }}"}'

0 comments on commit b26476b

Please sign in to comment.