File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,12 @@ jobs:
118118 - name : verification and testing
119119 env :
120120 commit : ${{ needs.update-readme.outputs.commit-hash }}
121+ commit2 : ${{ needs.update-readme.outputs.commit-hash2 }}
121122 run : |
122123 echo "commit=${commit}"
123- ecoh "commit hash=${{ needs.update-readme.outputs.commit-hash }}"
124+ echo "commit hash=${{ needs.update-readme.outputs.commit-hash }}"
125+ echo "commit2=${commit2}"
126+ echo "commit hash2=${{ needs.update-readme.outputs.commit-hash2 }}"
124127
125128 - name : Checkout Code
126129 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Original file line number Diff line number Diff line change 4040 outputs :
4141 commit-hash :
4242 description : " The commit hash for the updated README.md commit"
43- value : ${{ jobs.commit-hash.outputs.commit_hash }}
43+ value : ${{ jobs.update.outputs.commit_hash }}
44+ commit-hash2 :
45+ description : " The commit hash for the updated README.md commit"
46+ value : ${{ jobs.update.outputs.commit_hash2 }}
4447 push :
4548 paths :
4649 - ' **/*.mjs'
@@ -57,6 +60,9 @@ permissions:
5760
5861jobs :
5962 update :
63+ outputs :
64+ commit_hash : ${{ steps.commit-readme.outputs.commit_hash }}
65+ commit_hash2 : ${{ steps.commit-hash.outputs.commit_hash }}
6066 runs-on : solo-linux-medium
6167 steps :
6268 - name : Checkout Code for Push
@@ -207,4 +213,4 @@ jobs:
207213 - name : Set commit hash
208214 id : commit-hash
209215 run : |
210- echo "commit_hash =${{ jobs .commit-readme.outputs.commit_hash }}" | tee -a ${GITHUB_OUTPUT}
216+ echo "commit_hash2 =${{ steps .commit-readme.outputs.commit_hash }}" | tee -a ${GITHUB_OUTPUT}
You can’t perform that action at this time.
0 commit comments