We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4987d49 commit 73f9b7bCopy full SHA for 73f9b7b
.github/workflows/release.yml
@@ -358,3 +358,17 @@ jobs:
358
with:
359
name: spin
360
path: _dist/spin-${{ env.RELEASE_VERSION }}-static-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz
361
+
362
+ dispatch-homebrew-tap:
363
+ name: Dispatch spin-release event to fermyon/homebrew-tap
364
+ needs: create-gh-release
365
+ runs-on: ubuntu-latest
366
+ if: ${{ github.repository_owner == 'fermyon' }} && ${{ startsWith(github.ref, 'refs/tags/v') }}
367
+ steps:
368
+ - name: Repository Dispatch
369
+ uses: peter-evans/repository-dispatch@v3
370
+ with:
371
+ token: ${{ secrets.DEST_REPO_ACCESS_TOKEN }}
372
+ repository: fermyon/homebrew-tap
373
+ event-type: spin-release
374
+ client-payload: '{"version": "${{ github.ref_name }}"}'
0 commit comments