Skip to content

Commit

Permalink
ci: update Homebrew as the last step
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jul 10, 2023
1 parent 1e408dc commit d7b8cb7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}

- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
formula: lefthook
token: ${{secrets.HOMEBREW_TOKEN}}

- name: Publish to NPM and Rubygems
env:
NPM_API_KEY: ${{ secrets.NPM_API_KEY }}
Expand All @@ -67,3 +61,9 @@ jobs:
cd packaging/
make prepare
make publish
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
formula: lefthook
token: ${{secrets.HOMEBREW_TOKEN}}

0 comments on commit d7b8cb7

Please sign in to comment.