Skip to content

Commit

Permalink
ci(dispatch.yml): dispatch to fermyon/homebrew-tap
Browse files Browse the repository at this point in the history
Signed-off-by: Vaughn Dice <[email protected]>
  • Loading branch information
vdice committed Apr 4, 2024
1 parent 4987d49 commit 73f9b7b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,17 @@ jobs:
with:
name: spin
path: _dist/spin-${{ env.RELEASE_VERSION }}-static-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz

dispatch-homebrew-tap:
name: Dispatch spin-release event to fermyon/homebrew-tap
needs: create-gh-release
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'fermyon' }} && ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.DEST_REPO_ACCESS_TOKEN }}
repository: fermyon/homebrew-tap
event-type: spin-release
client-payload: '{"version": "${{ github.ref_name }}"}'

0 comments on commit 73f9b7b

Please sign in to comment.