Skip to content

Commit

Permalink
use solana 1.18 to deploy (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanphan authored May 21, 2024
1 parent 9053d3b commit 38c7e3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ RUST_VERSION=1.74.0
SOLANA_VERSION=1.17.20
COMMIT_USER_NAME=github-actions
COMMIT_USER_EMAIL=[email protected]
DEPLOY_SOLANA_VERSION=1.18.14
8 changes: 5 additions & 3 deletions .github/workflows/deploy-program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Install Solana
uses: metaplex-foundation/actions/install-solana@v1
with:
version: ${{ env.SOLANA_VERSION }}
version: ${{ env.DEPLOY_SOLANA_VERSION }}
cache: ${{ env.CACHE }}

- name: Install cargo-release
Expand Down Expand Up @@ -143,8 +143,10 @@ jobs:
solana -v program deploy ./programs/.bin/mpl_${{ inputs.program }}_program.so \
-u ${{ env.RPC }} \
--program-id ./program-id.json \
-k ./deployer-key.json
-k ./deployer-key.json \
--max-sign-attempts 100 \
--use-rpc
rm ./deployer-key.json
rm ./program-id.json
Expand Down

0 comments on commit 38c7e3c

Please sign in to comment.