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

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

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

Loading…
Cancel
Save