mirror of
https://github.com/openziti/zrok.git
synced 2024-12-01 20:43:51 +01:00
22 lines
604 B
YAML
22 lines
604 B
YAML
name: Homebrew Bump
|
|
|
|
on:
|
|
release:
|
|
types: [released]
|
|
|
|
jobs:
|
|
update-brew:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Extract Version
|
|
id: extract-version
|
|
run: |
|
|
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
|
|
- uses: mislav/bump-homebrew-formula-action@v2
|
|
if: "!contains(github.ref, '-')"
|
|
with:
|
|
formula-name: zrok
|
|
download-url: https://github.com/openziti/zrok/archive/${{ steps.extract-version.outputs.tag-name }}.tar.gz
|
|
env:
|
|
COMMITTER_TOKEN: ${{ secrets.BREW_COMMITTER_TOKEN }}
|