Merge pull request #426 from chenrui333/patch-1

workflows(homebrew): fix url format issue
This commit is contained in:
Michael Quigley 2023-10-25 14:37:46 -04:00 committed by GitHub
commit be98634336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,10 @@ jobs:
id: extract-version
run: |
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
- uses: mislav/bump-homebrew-formula-action@v2
- uses: mislav/bump-homebrew-formula-action@v3.1
if: "!contains(github.ref, '-')"
with:
formula-name: zrok
download-url: https://github.com/openziti/zrok/archive/${{ steps.extract-version.outputs.tag-name }}.tar.gz
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 }}