Skip to content

Commit

Permalink
fix: troubleshooting commit-hash (#602)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <[email protected]>
jeromy-cannon authored Sep 18, 2024
1 parent 5d72ffe commit 469f28e
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/flow-deploy-release-artifact.yaml
Original file line number Diff line number Diff line change
@@ -118,9 +118,12 @@ jobs:
- name: verification and testing
env:
commit: ${{ needs.update-readme.outputs.commit-hash }}
commit2: ${{ needs.update-readme.outputs.commit-hash2 }}
run: |
echo "commit=${commit}"
ecoh "commit hash=${{ needs.update-readme.outputs.commit-hash }}"
echo "commit hash=${{ needs.update-readme.outputs.commit-hash }}"
echo "commit2=${commit2}"
echo "commit hash2=${{ needs.update-readme.outputs.commit-hash2 }}"
- name: Checkout Code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
10 changes: 8 additions & 2 deletions .github/workflows/flow-update-readme.yaml
Original file line number Diff line number Diff line change
@@ -40,7 +40,10 @@ on:
outputs:
commit-hash:
description: "The commit hash for the updated README.md commit"
value: ${{ jobs.commit-hash.outputs.commit_hash }}
value: ${{ jobs.update.outputs.commit_hash }}
commit-hash2:
description: "The commit hash for the updated README.md commit"
value: ${{ jobs.update.outputs.commit_hash2 }}
push:
paths:
- '**/*.mjs'
@@ -57,6 +60,9 @@ permissions:

jobs:
update:
outputs:
commit_hash: ${{ steps.commit-readme.outputs.commit_hash }}
commit_hash2: ${{ steps.commit-hash.outputs.commit_hash }}
runs-on: solo-linux-medium
steps:
- name: Checkout Code for Push
@@ -207,4 +213,4 @@ jobs:
- name: Set commit hash
id: commit-hash
run: |
echo "commit_hash=${{ jobs.commit-readme.outputs.commit_hash }}" | tee -a ${GITHUB_OUTPUT}
echo "commit_hash2=${{ steps.commit-readme.outputs.commit_hash }}" | tee -a ${GITHUB_OUTPUT}

0 comments on commit 469f28e

Please sign in to comment.