Skip to content

Commit a21cb63

Browse files
timitimi
authored andcommitted
fix: update cask directly in release repo
1 parent 6f253e2 commit a21cb63

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/update-cask.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,8 @@ jobs:
5555
echo "sha=$SHA" >> $GITHUB_OUTPUT
5656
echo "Intel SHA256: $SHA"
5757
58-
- name: Checkout repository
59-
uses: actions/checkout@v4
60-
with:
61-
ref: main
62-
path: homebrew-lumis
63-
6458
- name: Update Cask file
6559
run: |
66-
cd homebrew-lumis
6760
CASK_FILE="Casks/lumis.rb"
6861
VERSION="${{ steps.version.outputs.version }}"
6962
ARM_SHA="${{ steps.sha_arm.outputs.sha }}"
@@ -81,11 +74,10 @@ jobs:
8174
echo "Updated content:"
8275
head -15 "$CASK_FILE"
8376
84-
- name: Commit and push to homebrew-tap
77+
- name: Commit and push
8578
run: |
86-
cd homebrew-lumis
8779
git config user.name "github-actions[bot]"
8880
git config user.email "github-actions[bot]@users.noreply.github.com"
8981
git add Casks/lumis.rb
9082
git commit -m "chore: update homebrew cask to v${{ steps.version.outputs.version }}"
91-
git push https://${{ secrets.HOMEBREW_TAP_TOKEN }}@github.com/melandlabs/homebrew-lumis.git main
83+
git push

0 commit comments

Comments
 (0)