v0.4.23 #21
Workflow file for this run
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: Homebrew Bump | |
on: | |
release: | |
types: [released] | |
jobs: | |
update-brew: | |
if: github.repository_owner == 'openziti' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Extract Version | |
id: extract-version | |
run: | | |
echo "tag-name=${GITHUB_REF#refs/tags/}" | tee -a ${GITHUB_OUTPUT} | |
- uses: mislav/[email protected] | |
if: ${{ !contains(github.ref, '-') }} | |
with: | |
formula-name: zrok | |
download-url: https://github.com/openziti/zrok/archive/refs/tags/${{ steps.extract-version.outputs.tag-name }}.tar.gz | |
env: | |
COMMITTER_TOKEN: ${{ secrets.BREW_COMMITTER_TOKEN }} |