Skip to content

Commit

Permalink
fix: deploy and tag uses commit-hash from readme (#601)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
  • Loading branch information
jeromy-cannon authored Sep 18, 2024
1 parent 30b616b commit 5d72ffe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/flow-deploy-release-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ jobs:
GH_ACCESS_GPG_KEY: ${{ secrets.GH_ACCESS_GPG_KEY }}
GH_ACCESS_PASSPHRASE: ${{ secrets.GH_ACCESS_PASSPHRASE }}


create-github-release:
name: Github / Release
runs-on: solo-linux-medium
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/flow-update-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ on:
outputs:
commit-hash:
description: "The commit hash for the updated README.md commit"
value: ${{ jobs.commit-readme.outputs.commit_hash }}
value: ${{ jobs.commit-hash.outputs.commit_hash }}
push:
paths:
- '**/*.mjs'
Expand Down Expand Up @@ -203,3 +203,8 @@ jobs:
commit_author: Swirlds Automation <swirlds-eng-automation@swirlds.com>
env:
GITHUB_TOKEN: ${{secrets.GH_ACCESS_TOKEN}}

- name: Set commit hash
id: commit-hash
run: |
echo "commit_hash=${{ jobs.commit-readme.outputs.commit_hash }}" | tee -a ${GITHUB_OUTPUT}

0 comments on commit 5d72ffe

Please sign in to comment.