ci: reuse workflows #394
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: dispatch | |
defaults: | |
run: | |
shell: bash | |
on: | |
push: | |
jobs: | |
dispatch-akash: | |
runs-on: ubuntu-latest | |
steps: | |
- name: notify goreleaser-cross with new release | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
token: ${{ secrets.GORELEASER_ACCESS_TOKEN }} | |
repo: akash-network/homebrew-tap | |
workflow: akash | |
ref: refs/heads/main | |
inputs: '{ "tag" : "${{ env.RELEASE_TAG }}" }' | |
dispatch-provider: | |
runs-on: ubuntu-latest | |
steps: | |
- name: notify homebrew with new release | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
token: ${{ secrets.GORELEASER_ACCESS_TOKEN }} | |
repo: akash-network/homebrew-tap | |
workflow: provider-services | |
ref: refs/heads/main | |
inputs: '{"tag": "${{ env.RELEASE_TAG }}"}' |