File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 2121 id : set_commit_ref
2222 run : |
2323 if [[ "${{ github.event_name }}" == "push" ]]; then
24- echo "commit_ref =${{ github.sha }}" >> $GITHUB_OUTPUT
24+ COMMIT_REF =${{ github.sha }}
2525 else
26- echo "commit_ref=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
26+ COMMIT_REF=${{ github.event.pull_request.head.sha }}
27+ fi
28+ echo "COMMIT_REF=$COMMIT_REF" >> $GITHUB_OUTPUT
29+
30+ # Set a simple output to confirm the value
31+ echo "EVENT: ${{ github.event_name }}, COMMIT_REF=$COMMIT_REF"
2732
2833 # Build the code (minimal secrets here)
2934 build :
3237 uses : ./.github/workflows/build.yml
3338 with :
3439 debug_build : ${{ github.event_name == 'pull_request_target' || github.event_name == 'pull_request' }}
35- commit_ref : ${{ needs.commit_reference.outputs.commit_ref }}
40+ commit_ref : ${{ needs.commit_reference.outputs.COMMIT_REF }}
3641 secrets :
3742 RELEASE_KEYSTORE : ${{ secrets.RELEASE_KEYSTORE }}
3843 RELEASE_KEYSTORE_PASSWORD : ${{ secrets.RELEASE_KEYSTORE_PASSWORD }}
You can’t perform that action at this time.
0 commit comments