Skip to content

Commit

Permalink
workflows: fetch HEAD commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jonchang committed Mar 22, 2020
1 parent 1d74a0a commit aba0ab4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish-commit-bottles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,16 @@ jobs:
- name: Checkout tap
uses: actions/checkout@v2
with:
ref: refs/pull/${{ github.event.client_payload.pull_request }}/merge
ref: refs/pull/${{ github.event.client_payload.pull_request }}/head
token: ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
fetch-depth: 0
- name: Setup tap
run: |
rm -rf $(brew --repository ${{github.repository}})
ln -s $GITHUB_WORKSPACE $(brew --repository ${{github.repository}})
git branch -f master HEAD
git checkout master
git log origin/master..HEAD --oneline
- name: Download artifacts
uses: Homebrew/actions/download-artifact@master
with:
Expand Down

0 comments on commit aba0ab4

Please sign in to comment.