Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
evandcoleman committed Aug 17, 2021
1 parent b320002 commit f588343
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/update_formula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
VERSION=${GITHUB_REF/refs\/tags\//}
REPO_PATH=$(pwd)
URL="https://github.com/evandcoleman/Scipio/archive/refs/tags/$VERSION.tar.gz"
brew tap evandcoleman/tap https://github.com/evandcoleman/homebrew-tap.git
brew tap evandcoleman/tap https://$GITHUB_USER:$GITHUB_TOKEN@github.com/evandcoleman/homebrew-tap.git
FORMULA_DIR=/usr/local/Homebrew/Library/Taps/evandcoleman/homebrew-tap/Formula
[ ! -d $FORMULA_DIR ] && mkdir -p $FORMULA_DIR
cd $FORMULA_DIR
Expand Down Expand Up @@ -48,6 +48,9 @@ jobs:
echo ::set-output name=bottle_name::$BOTTLE_NAME
echo ::set-output name=bottle_json::$BOTTLE_JSON
echo ::set-output name=bottle_sha::$BOTTLE_SHA256
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}
GITHUB_USER: ${{ secrets.HOMEBREW_GITHUB_USER }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit f588343

Please sign in to comment.