Skip to content

Commit 2c7ff2f

Browse files
committed
Cleaner action for Homebrew
1 parent 3451ffd commit 2c7ff2f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release_github.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,13 @@ jobs:
193193
echo "is_prerelease=false" >> $GITHUB_OUTPUT
194194
fi
195195
196-
- name: Clone homebrew-tap repository
196+
- name: Checkout homebrew-tap repository
197197
if: steps.check_prerelease.outputs.is_prerelease == 'false'
198-
run: |
199-
git clone https://x-access-token:${{ secrets.HOMEBREW_TAP_TOKEN }}@github.com/get-celq/homebrew-tap.git homebrew-tap
198+
uses: actions/checkout@v4
199+
with:
200+
repository: get-celq/homebrew-tap
201+
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
202+
path: homebrew-tap
200203

201204
- name: Update Homebrew formula
202205
if: steps.check_prerelease.outputs.is_prerelease == 'false'

0 commit comments

Comments
 (0)