1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-27 12:03:30 +00:00

ci: Reset brew installation before bump-formula-pr

This commit is contained in:
Matan Kushner 2019-10-15 01:05:51 +09:00
parent 76b47f2f65
commit 4634449354
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -166,6 +166,11 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- run: |
cd $(brew --prefix)
git fetch origin
sudo git reset --hard origin/master
cd -
- run: 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:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}