Skip to content

Commit

Permalink
ci: fixes homebrew generate-formulas
Browse files Browse the repository at this point in the history
  • Loading branch information
petethepig committed Oct 12, 2023
1 parent 7bfe2c1 commit f8473a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ jobs:
repository: pyroscope-io/homebrew-brew
- name: Update homebrew formulas
run: |
git config --global url."https://x-access-token:$(echo "${GITHUB_TOKEN}" | xargs)@github.com/pyroscope-io/homebrew-brew".insteadOf "https://github.com/pyroscope-io/homebrew-brew"
git clone https://github.com/pyroscope-io/homebrew-brew
cd homebrew-brew
git config --global url."https://x-access-token:$(echo "${HOMEBREW_GITHUB_TOKEN}" | xargs)@github.com/pyroscope-io/homebrew-brew".insteadOf "https://github.com/pyroscope-io/homebrew-brew"
git clone https://github.com/pyroscope-io/homebrew-brew ../homebrew-brew
cd ../homebrew-brew
make generate-formulas && git add Formula && git commit -m "chore: update formulas to ${}" && git push origin main
env:
GITHUB_TOKEN: ${{ steps.brew-token.outputs.token }}
HOMEBREW_GITHUB_TOKEN: ${{ steps.brew-token.outputs.token }}

0 comments on commit f8473a3

Please sign in to comment.