Skip to content

Commit

Permalink
fix: homebrew support
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 committed Jul 1, 2024
1 parent dc8437f commit 634421a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
id: release
run: |
# Download files from the latest release and calculate their SHA256 checksums
gh release view --json tagName,assets
gh release view --json tagName,assets > release.json
cat release.json
jq -r '.assets[] | select(.name | contains("x86_64-apple-darwin")) | .url' release.json
jq -r '.assets[] | select(.name | contains("aarch64-apple-darwin")) | .url' release.json
echo "X86_URL=$(jq -r '.assets[] | select(.name | contains("x86_64-apple-darwin")) | .url' release.json)" >> $GITHUB_OUTPUT
echo "ARM_URL=$(jq -r '.assets[] | select(.name | contains("aarch64-apple-darwin")) | .url' release.json)" >> $GITHUB_OUTPUT
gh release download -p '*apple-darwin*'
Expand Down

0 comments on commit 634421a

Please sign in to comment.