File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,14 @@ jobs:
57
57
- name : Get metadata
58
58
id : get_metadata
59
59
run : |
60
- echo "COMMIT_SHA=$(git rev-parse --short ${{ github.event.pull_request.head.sha }})" >> $GITHUB_ENV
61
- echo "COMMIT_MESSAGE=$(git log -n 1 --pretty=format:%s ${{ github.event.pull_request.head.sha }})" >> $GITHUB_ENV
62
- echo "::set-output name=commit_sha::$(git log -n 1 --pretty=format:%s ${{ github.event.pull_request.head.sha }})"
60
+ COMMIT_SHA=$(git rev-parse --short ${{ github.event.pull_request.head.sha }})
61
+ COMMIT_MESSAGE=$(git log -n 1 --pretty=format:%s ${{ github.event.pull_request.head.sha }})
62
+ echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> $GITHUB_ENV
63
+ echo "COMMIT_SHA=$COMMIT_SHA" >> $GITHUB_ENV
64
+ echo "::set-output name=commit_message::$COMMIT_MESSAGE"
63
65
# - name: "BRANCH: ${{ github.ref_name }}"
64
66
# run: echo ""
65
- - name : " Current commit : ${{ env.COMMIT_SHA }} - ${{ env.COMMIT_MESSAGE }}"
67
+ - name : " CURRENT COMMIT : ${{ env.COMMIT_SHA }} - ${{ env.COMMIT_MESSAGE }}"
66
68
run : echo ""
67
69
# - name: "SHA: ${{ github.sha }}"
68
70
# run: echo ""
@@ -93,10 +95,10 @@ jobs:
93
95
run : yarn install --ignore-engines
94
96
outputs :
95
97
dependency_cache_key : ${{ steps.compute_lockfile_hash.outputs.hash }}
96
- commit_sha : ${{ steps.get_metadata.outputs.commit_sha }}
98
+ commit_message : ${{ steps.get_metadata.outputs.commit_message }}
97
99
98
100
job_metadata :
99
- name : " Commit: ${{ needs.job_install_deps.outputs.commit_sha }}"
101
+ name : " Commit: ${{ needs.job_install_deps.outputs.commit_message }}"
100
102
# name: "Commit: ${{ needs.job_install_deps.outputs.commit_sha }} - ${{ env.COMMIT_MESSAGE }}"
101
103
needs : job_install_deps
102
104
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments