Skip to content

Commit

Permalink
Do it for only macos
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitozgumus committed Dec 21, 2024
1 parent d75fd62 commit 9808271
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Clone Homebrew Tap
if: matrix.os == 'macos-latest'
run: |
git clone https://github.com/yigitozgumus/homebrew-formuale.git
cd homebrew-formulae
git config user.name "GitHub Actions"
git config user.email "[email protected]"
- name: Update Formula
if: matrix.os == 'macos-latest'
run: |
cd Formula
sed -i "s|url .*|url \"https://github.com/yigitozgumus/lazydraft/releases/download/${{ github.event.release.tag_name }}/lazydraft-v${{ github.event.release.tag_name }}.tar.gz\"|" lazydraft.rb
Expand Down

0 comments on commit 9808271

Please sign in to comment.