diff --git a/.github/workflows/software-upgrade-test.yml b/.github/workflows/software-upgrade-test.yml index 3934ee310..d08d391b5 100644 --- a/.github/workflows/software-upgrade-test.yml +++ b/.github/workflows/software-upgrade-test.yml @@ -152,7 +152,7 @@ jobs: - name: Save up space run: | - rm -rf ~/.elys/config/genesis.json + rm -rf /tmp/genesis.json - name: Prepare second validator data run: | @@ -192,6 +192,7 @@ jobs: run: | mv /tmp/elys-backup $HOME/.elys mv /tmp/elys2-backup $HOME/.elys2 + cp -a /tmp/elys2-backup/config/genesis.json $HOME/.elys/config/genesis.json if: steps.cache-backup-directories.outputs.cache-hit == 'true' - name: Upgrade to new binary