Skip to content

Commit 6901f46

Browse files
fix: more update readme testing (#600)
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent 92d638b commit 6901f46

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ jobs:
8888
verify-version-output:
8989
name: Verify Version Output
9090
runs-on: solo-linux-medium
91-
needs: prepare-release
91+
needs:
92+
- prepare-release
9293
steps:
9394
- name: Verify version output
9495
env:
@@ -98,7 +99,8 @@ jobs:
9899
update-readme:
99100
name: "Update README.md"
100101
uses: ./.github/workflows/flow-update-readme.yaml
101-
needs: prepare-release
102+
needs:
103+
- prepare-release
102104
with:
103105
commit-changes: true
104106
version: ${{ needs.prepare-release.outputs.version }}
@@ -114,6 +116,13 @@ jobs:
114116
needs:
115117
- update-readme
116118
steps:
119+
- name: verification and testing
120+
env:
121+
commit: ${{ needs.update-readme.outputs.commit-hash }}
122+
run: |
123+
echo "commit=${commit}"
124+
ecoh "commit hash=${{ needs.update-readme.outputs.commit-hash }}"
125+
117126
- name: Checkout Code
118127
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
119128
with:

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,13 @@ jobs:
108108
sudo apt-get install gettext-base
109109
110110
- name: Update README.md
111-
env:
112-
VERSION: ${{ github.event.inputs.version }}
113111
run: |
114112
set -x
115113
npm install -g @hashgraph/solo
116114
npm link
117115
118-
[[ -n "${VERSION}" ]] && npm version ${VERSION} -f --no-git-tag-version
116+
echo "VERSION=${{ inputs.version }}"
117+
[[ -n "${{ inputs.version }}" ]] && npm version ${{ inputs.version }} -f --no-git-tag-version
119118
which solo
120119
121120
export SOLO_CLUSTER_NAME=solo

0 commit comments

Comments
 (0)