Skip to content

Commit 469f28e

Browse files
fix: troubleshooting commit-hash (#602)
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent 5d72ffe commit 469f28e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/flow-deploy-release-artifact.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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

.github/workflows/flow-update-readme.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ on:
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

5861
jobs:
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}

0 commit comments

Comments
 (0)