diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f864d26f..36806189 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -43,3 +43,14 @@ 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 }}"}' \ No newline at end of file