Skip to content

Commit

Permalink
use solana 1.18 to deploy (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanphan authored May 21, 2024
1 parent 73d2d0a commit ec267f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ SOLANA_VERSION=1.16.8
ANCHOR_VERSION=0.27.0
COMMIT_USER_NAME="github-actions"
COMMIT_USER_EMAIL="[email protected]"
DEPLOY_SOLANA_VERSION=1.18.14
6 changes: 4 additions & 2 deletions .github/workflows/deploy-program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit ec267f6

Please sign in to comment.