We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c54555e commit 27b26cfCopy full SHA for 27b26cf
.github/actions/cmake/action.yml
@@ -59,8 +59,8 @@ runs:
59
PACKAGE: "${{ inputs.package == 'true' && 'ON' || 'OFF' }}"
60
# GitHub creates merge commits for PRS, so we:
61
# - explicitly provide branch name
62
- # - provide `github.event.pull_request.head.sha` to get the actual commit SHA of the PR branch.
63
- GITHUB_BRANCH_NAME: "${{ github.event.pull_request.head.ref || github.ref_name }}"
+ # - provide `github.head_ref` to get the actual commit SHA of the PR branch.
+ GITHUB_BRANCH_NAME: "${{ github.head_ref || github.ref_name }}"
64
GITHUB_HEAD_SHA: "${{ github.event.pull_request.head.sha || github.sha }}"
65
run: |
66
cmake \
0 commit comments