Skip to content

Commit

Permalink
feat: improve brew release (#236)
Browse files Browse the repository at this point in the history
uses git clone instead of curl to get the Homebrew Ruby file.
This should improve the release because the curl can no longer succeed
with non 200 response code. instead the step should fail if git clone
and copy file fails.

Signed-off-by: Moriarty <[email protected]>

Signed-off-by: Moriarty <[email protected]>
  • Loading branch information
morrieinmaas authored Oct 24, 2022
1 parent 175f58f commit 745441d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/brew-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
steps:
- name: Get Ruby file
id: get_ruby_file
run: curl -o siera.rb https://raw.githubusercontent.com/animo/homebrew-siera/main/Formula/siera.rb
run: |
git clone https://github.com/animo/homebrew-siera.git
cp ./homebrew-siera/Formula/siera.rb ./siera.rb
- name: Gather data and rewrite ruby file
id: gather_data_and_rewrite
run: |
Expand Down

0 comments on commit 745441d

Please sign in to comment.