mirror of
https://github.com/openziti/zrok.git
synced 2024-11-23 00:23:48 +01:00
24 lines
663 B
YAML
24 lines
663 B
YAML
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/bump-homebrew-formula-action@v3.1
|
|
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 }}
|