From 51a14473a95bd792af84d250fccc812205cfb2fa Mon Sep 17 00:00:00 2001 From: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> Date: Sat, 25 May 2024 08:00:06 +0200 Subject: [PATCH] ci: add build step in prepare val data (#526) --- .github/workflows/software-upgrade-test.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/software-upgrade-test.yml b/.github/workflows/software-upgrade-test.yml index cab0aaa78..92c782320 100644 --- a/.github/workflows/software-upgrade-test.yml +++ b/.github/workflows/software-upgrade-test.yml @@ -481,7 +481,7 @@ jobs: run: | # build new upgrade assure binary make build-upgrade-assure - mv ./build/upgrade-assure ${{ needs.build-new-binary.outputs.NEW_UPGRADE_ASSURE_BINARY_PATH}} + mv ./build/upgrade-assure ${{ needs.build-new-binary.outputs.NEW_UPGRADE_ASSURE_BINARY_PATH }} if: steps.cache-create-second-validator.outputs.cache-hit != 'true' - name: Restore old binary from cache @@ -558,11 +558,19 @@ jobs: with: path: | ${{ needs.build-new-binary.outputs.NEW_BINARY_PATH }} - ${{ needs.build-new-binary.outputs.NEW_UPGRADE_ASSURE_BINARY_PATH}} + ${{ needs.build-new-binary.outputs.NEW_UPGRADE_ASSURE_BINARY_PATH }} ${{ needs.build-new-binary.outputs.UPLOAD_SNAPSHOT_BINARY_PATH }} key: ${{ needs.build-new-binary.outputs.CACHE_KEY }} if: steps.cache-prepare-validator-data.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-prepare-validator-data.outputs.cache-hit != 'true' + - name: Restore old binary from cache uses: actions/cache@v4 with: