ci: export the Homebrew GitHub API token

This commit is contained in:
Matan Kushner 2019-08-13 19:25:00 -04:00
parent 95401c688f
commit 6be33284a6
No known key found for this signature in database
GPG key ID: 4B98C3A8949CA8A4

View file

@ -9,6 +9,7 @@ jobs:
git config --global user.name "matchai"
git config --global user.email "hello@matchai.me"
git config --global credential.helper store
export HOMEBREW_GITHUB_API_TOKEN=$HOMEBREW_GITHUB_API_TOKEN
echo "https://matchai:$HOMEBREW_GITHUB_API_TOKEN@github.com" >> ~/.git-credentials
brew update
brew bump-formula-pr --url=https://github.com/starship/starship/archive/$GIT_TAG.tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship