Skip to content

Commit 5d72ffe

Browse files
fix: deploy and tag uses commit-hash from readme (#601)
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent 30b616b commit 5d72ffe

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ jobs:
109109
GH_ACCESS_GPG_KEY: ${{ secrets.GH_ACCESS_GPG_KEY }}
110110
GH_ACCESS_PASSPHRASE: ${{ secrets.GH_ACCESS_PASSPHRASE }}
111111

112-
113112
create-github-release:
114113
name: Github / Release
115114
runs-on: solo-linux-medium

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ on:
4040
outputs:
4141
commit-hash:
4242
description: "The commit hash for the updated README.md commit"
43-
value: ${{ jobs.commit-readme.outputs.commit_hash }}
43+
value: ${{ jobs.commit-hash.outputs.commit_hash }}
4444
push:
4545
paths:
4646
- '**/*.mjs'
@@ -203,3 +203,8 @@ jobs:
203203
commit_author: Swirlds Automation <[email protected]>
204204
env:
205205
GITHUB_TOKEN: ${{secrets.GH_ACCESS_TOKEN}}
206+
207+
- name: Set commit hash
208+
id: commit-hash
209+
run: |
210+
echo "commit_hash=${{ jobs.commit-readme.outputs.commit_hash }}" | tee -a ${GITHUB_OUTPUT}

0 commit comments

Comments
 (0)