diff --git a/.github/.env b/.github/.env index 12845df1..9074e690 100644 --- a/.github/.env +++ b/.github/.env @@ -6,3 +6,4 @@ SOLANA_VERSION=1.16.8 ANCHOR_VERSION=0.27.0 COMMIT_USER_NAME="github-actions" COMMIT_USER_EMAIL="github-actions@github.com" +DEPLOY_SOLANA_VERSION=1.18.14 diff --git a/.github/workflows/deploy-program.yml b/.github/workflows/deploy-program.yml index e8ce3fde..c00b1127 100644 --- a/.github/workflows/deploy-program.yml +++ b/.github/workflows/deploy-program.yml @@ -78,7 +78,7 @@ jobs: - name: Install Solana uses: metaplex-foundation/actions/install-solana@v1 with: - version: "1.14.22" + version: ${{ env.DEPLOY_SOLANA_VERSION }} cache: ${{ env.CACHE }} - name: Install Anchor CLI @@ -156,7 +156,9 @@ jobs: solana -v program deploy ./programs/.bin/${{ env.PROGRAM_NAME }}.so \ -u ${{ env.RPC }} \ --program-id ./program-id.json \ - -k ./deploy-key.json + -k ./deploy-key.json \ + --max-sign-attempts 100 \ + --use-rpc - name: Upgrade IDL working-directory: ./programs/${{ inputs.program }}