From 5fdd188ebb97b2a6e81ae8f0f7d51c717915dfb9 Mon Sep 17 00:00:00 2001 From: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> Date: Wed, 15 May 2024 22:04:25 +0200 Subject: [PATCH] ci: restore genesis json (#501) --- .github/workflows/software-upgrade-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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