Skip to content

Commit db1c959

Browse files
authored
refactor: use brew CLI over custom action (#689)
1 parent 7f04b75 commit db1c959

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1+
name: Homebrew
2+
13
on:
24
push:
35
tags: 'v*'
46

57
jobs:
6-
homebrew:
7-
name: Bump Homebrew Cask
8+
pr-to-homebrew:
89
runs-on: macos-latest
910
steps:
10-
- uses: macauley/action-homebrew-bump-cask@v1
11-
with:
12-
token: ${{ secrets.GH_TOKEN }}
13-
org: gitify-app
14-
tap: homebrew/homebrew-cask
15-
cask: gitify
16-
force: false
11+
- uses: Homebrew/actions/setup-homebrew@master
12+
- id: version
13+
run: echo "version=$(echo ${{ github.ref }} | sed 's/refs\/tags\/v//')" >> $GITHUB_OUTPUT
14+
- run: brew bump-cask-pr gitify --version=${{ steps.version.outputs.version }} --message="Bump gitify to ${{ steps.version.outputs.version }}"
15+
env:
16+
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)