Skip to content

Commit

Permalink
fix anchor install
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvja committed Jan 6, 2025
1 parent 9ba2460 commit 4c725c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ jobs:

- name: Install Anchor
if: steps.cache-anchor.outputs.cache-hit != 'true'
# Since the latest avm version doesnt compile with the current rust version, we use the
# old avm version.
run: |
set -eux
cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.0 avm --locked --force
avm install $ANCHOR_VERSION
avm use $ANCHOR_VERSION
Expand Down

0 comments on commit 4c725c3

Please sign in to comment.