2023-06-28 06:43:26 +02:00
|
|
|
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/}"
|
2023-10-25 19:49:27 +02:00
|
|
|
- uses: mislav/bump-homebrew-formula-action@v3.1
|
2023-06-28 06:43:26 +02:00
|
|
|
if: "!contains(github.ref, '-')"
|
|
|
|
with:
|
|
|
|
formula-name: zrok
|
2023-06-29 15:58:02 +02:00
|
|
|
download-url: https://github.com/openziti/zrok/archive/${{ steps.extract-version.outputs.tag-name }}.tar.gz
|
2023-06-28 06:43:26 +02:00
|
|
|
env:
|
|
|
|
COMMITTER_TOKEN: ${{ secrets.BREW_COMMITTER_TOKEN }}
|