ci: Update to bump-homebrew-formula-action@v2

pull/6/head^2
sgoudham 3 years ago
parent 949ccdf16e
commit 97ea9dd12e
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -128,6 +128,7 @@ jobs:
./${{ env.bin }}-${{ matrix.target }}.tar.gz
deploy-artifacts:
name: Deploy Artifacts
needs: [ windows, macos, linux ]
runs-on: ubuntu-latest
@ -145,14 +146,14 @@ jobs:
./Windows/*.zip
homebrew:
name: Bump Homebrew Formula
needs: deploy-artifacts
runs-on: ubuntu-latest
steps:
- name: Extract Version
run: |
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
- uses: mislav/bump-homebrew-formula-action@v1
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, '-')" # Skip Pre-Releases
with:
create-pullrequest: true

Loading…
Cancel
Save