Skip to content

Commit

Permalink
publish-commit-bottles: relocate head_sha output
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed May 8, 2024
1 parent ebc5093 commit 340e6ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-commit-bottles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,6 @@ jobs:
${{inputs.message && '--message="$INPUT_MESSAGE"' || ''}} \
"$PR"
echo "head_sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- name: Generate build provenance
uses: actions/attest-build-provenance@v1
with:
Expand All @@ -356,6 +354,8 @@ jobs:
${{inputs.warn_on_upload_failure && '--warn-on-upload-failure' || ''}} \
"$PR"
echo "head_sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- name: Push commits
uses: Homebrew/actions/git-try-push@master
with:
Expand Down Expand Up @@ -389,7 +389,7 @@ jobs:
id: wait-until-in-sync
working-directory: ${{steps.set-up-homebrew.outputs.repository-path}}
env:
EXPECTED_SHA: ${{steps.pr-pull.outputs.head_sha}}
EXPECTED_SHA: ${{steps.pr-upload.outputs.head_sha}}
run: |
echo "::notice ::Local repository HEAD: $EXPECTED_SHA"
Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:
id: automerge
env:
GH_TOKEN: ${{secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN}}
EXPECTED_SHA: ${{steps.pr-pull.outputs.head_sha}}
EXPECTED_SHA: ${{steps.pr-upload.outputs.head_sha}}
working-directory: ${{steps.set-up-homebrew.outputs.repository-path}}
run: |
local_git_head="$(git rev-parse HEAD)"
Expand Down

0 comments on commit 340e6ec

Please sign in to comment.