From 9c16aaff3c0fe5bda4d8ffb418c4bb2b535eb420 Mon Sep 17 00:00:00 2001 From: Vlad Frolov Date: Sat, 24 Feb 2024 20:12:29 +0100 Subject: [PATCH] ci: Fixed deploy workflows --- .github/workflows/deploy-production.yml | 2 +- .github/workflows/deploy-staging.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 8062317..d4e11b5 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -15,7 +15,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install cargo-near CLI - run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-v0.4.1/cargo-near-installer.sh | sh + run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-v0.6.1/cargo-near-installer.sh | sh - name: Deploy to production run: | cargo near deploy "${{ vars.NEAR_CONTRACT_PRODUCTION_ACCOUNT_ID }}" \ diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index d61228d..7fba3a7 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Install near CLI - run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/near-cli-rs/releases/download/v0.7.0/near-cli-rs-installer.sh | sh + run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/near-cli-rs/releases/download/v0.8.0/near-cli-rs-installer.sh | sh - name: Create staging account if: github.event.action == 'opened' || github.event.action == 'reopened' run: | @@ -34,7 +34,7 @@ jobs: send - name: Install cargo-near CLI - run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-v0.4.1/cargo-near-installer.sh | sh + run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-v0.6.1/cargo-near-installer.sh | sh - name: Deploy to staging run: | cargo near deploy "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \