diff options
author | Matan Kushner <hello@matchai.me> | 2019-10-15 01:05:51 +0900 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-10-15 01:05:51 +0900 |
commit | 4634449354842666542c14f54453ce232f2b7089 (patch) | |
tree | f593e414f311093585d3f7a6e347fcaaf81bfe6b /.github | |
parent | 76b47f2f6523cef4dc97f9b841d85602d32bf3ff (diff) |
ci: Reset brew installation before bump-formula-pr
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/workflow.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 7ecb45a56..9f626b452 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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 }} |