From 846d8e8350086d3d8cdc9959c95981ec71caecd0 Mon Sep 17 00:00:00 2001 From: maayarosama Date: Wed, 18 Dec 2024 14:06:50 +0200 Subject: [PATCH] Restoring different networks using specific versions --- .github/workflows/grid_client_nightly.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/grid_client_nightly.yml b/.github/workflows/grid_client_nightly.yml index a829d6b507..2a343b8de8 100644 --- a/.github/workflows/grid_client_nightly.yml +++ b/.github/workflows/grid_client_nightly.yml @@ -23,11 +23,22 @@ jobs: STORE_SECRET: secret MNEMONIC: ${{ secrets.MNEMONIC }} SSH_KEY: ${{ secrets.SSH_KEY }} - + steps: - uses: actions/checkout@v4 + if: ${{ env.NETWORK == 'dev' }} + - uses: actions/checkout@v4 + if: ${{ env.NETWORK == 'qa' }} with: ref: refs/tags/v2.6.3 + - uses: actions/checkout@v4 + if: ${{ env.NETWORK == 'test' }} + with: + ref: refs/tags/v2.6.3 + - uses: actions/checkout@v4 + if: ${{ env.NETWORK == 'main' }} + with: + ref: refs/tags/v2.5.2 - name: Set up node 18 uses: actions/setup-node@v3