build: Use the correct Homebrew GitHub API token name
This commit is contained in:
parent
2e1051fbca
commit
3dd7f66ffc
|
@ -194,13 +194,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- run: |
|
- run: |
|
||||||
echo "https://starship-bot:$GITHUB_TOKEN@github.com" > ~/.git-credentials
|
echo "https://starship-bot:$HOMEBREW_GITHUB_API_TOKEN@github.com" > ~/.git-credentials
|
||||||
git config --global credential.helper store
|
git config --global credential.helper store
|
||||||
git config --global user.name "Starship Bot"
|
git config --global user.name "Starship Bot"
|
||||||
git config --global user.email "bot@starship.rs"
|
git config --global user.email "bot@starship.rs"
|
||||||
brew bump-formula-pr --url=https://github.com/starship/starship/archive/$(git describe --tags).tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship --force
|
brew bump-formula-pr --url=https://github.com/starship/starship/archive/$(git describe --tags).tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship --force
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||||
|
|
||||||
# Build sources for every OS
|
# Build sources for every OS
|
||||||
github_build:
|
github_build:
|
||||||
|
|
Loading…
Reference in New Issue