Skip to content

Commit 37af9da

Browse files
committed
workflow fix
1 parent 2d051bc commit 37af9da

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/brew.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,14 @@ jobs:
3030
run: |
3131
brew style ./Formula/ssh-studio.rb
3232
33-
- name: Audit formula
33+
- name: Add formula to tap and audit
3434
run: |
35-
brew audit --new --strict ssh-studio
35+
# Create a local tap
36+
brew tap-new --no-git local/ssh-studio
37+
# Copy formula to the tap
38+
cp ./Formula/ssh-studio.rb $(brew --repository local/ssh-studio)/Formula/
39+
# Now audit the formula
40+
brew audit --new --strict local/ssh-studio/ssh-studio
3641
3742
- name: Build and install
3843
run: |

0 commit comments

Comments
 (0)