Skip to content

Commit

Permalink
ci: build binary in next steps (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond authored May 25, 2024
1 parent 51a1447 commit 4bd62d6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/software-upgrade-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,14 @@ jobs:
key: ${{ runner.os }}-retrieve-old-binary-${{ needs.retrieve-latest-tag.outputs.LATEST_TAG }}
if: steps.cache-submit-new-proposal.outputs.cache-hit != 'true'

- name: Build new binaries
id: build-new-binaries
run: |
# build new upgrade assure binary
make build-upgrade-assure
mv ./build/upgrade-assure ${{ needs.build-new-binary.outputs.NEW_UPGRADE_ASSURE_BINARY_PATH }}
if: steps.cache-submit-new-proposal.outputs.cache-hit != 'true'

- name: Submit new proposal
run: |
GOMEMLIMIT=32GiB \
Expand Down Expand Up @@ -728,6 +736,14 @@ jobs:
key: ${{ needs.build-new-binary.outputs.CACHE_KEY }}
if: steps.cache-upgrade-to-new-binary.outputs.cache-hit != 'true'

- name: Build new binaries
id: build-new-binaries
run: |
# build new upgrade assure binary
make build-upgrade-assure
mv ./build/upgrade-assure ${{ needs.build-new-binary.outputs.NEW_UPGRADE_ASSURE_BINARY_PATH }}
if: steps.cache-upgrade-to-new-binary.outputs.cache-hit != 'true'

- name: Upgrade to new binary
run: |
GOMEMLIMIT=8GiB \
Expand Down

0 comments on commit 4bd62d6

Please sign in to comment.