Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: more update readme testing #600

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/flow-deploy-release-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ jobs:
verify-version-output:
name: Verify Version Output
runs-on: solo-linux-medium
needs: prepare-release
needs:
- prepare-release
steps:
- name: Verify version output
env:
Expand All @@ -98,7 +99,8 @@ jobs:
update-readme:
name: "Update README.md"
uses: ./.github/workflows/flow-update-readme.yaml
needs: prepare-release
needs:
- prepare-release
with:
commit-changes: true
version: ${{ needs.prepare-release.outputs.version }}
Expand All @@ -114,6 +116,13 @@ jobs:
needs:
- update-readme
steps:
- name: verification and testing
env:
commit: ${{ needs.update-readme.outputs.commit-hash }}
run: |
echo "commit=${commit}"
ecoh "commit hash=${{ needs.update-readme.outputs.commit-hash }}"

- name: Checkout Code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/flow-update-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,13 @@ jobs:
sudo apt-get install gettext-base

- name: Update README.md
env:
VERSION: ${{ github.event.inputs.version }}
run: |
set -x
npm install -g @hashgraph/solo
npm link

[[ -n "${VERSION}" ]] && npm version ${VERSION} -f --no-git-tag-version
echo "VERSION=${{ inputs.version }}"
[[ -n "${{ inputs.version }}" ]] && npm version ${{ inputs.version }} -f --no-git-tag-version
which solo

export SOLO_CLUSTER_NAME=solo
Expand Down
Loading