From e0064e02f2433fdf5be6bdb496cf65171523e680 Mon Sep 17 00:00:00 2001 From: Taylor Price Date: Wed, 26 Jun 2024 14:03:40 -0700 Subject: [PATCH] chore: add back dispatch jobs Signed-off-by: Taylor Price --- .github/workflows/release.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d998b521..18871150 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 }}"}' \ No newline at end of file