Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Sep 28, 2023
1 parent 3127a78 commit ffdf1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup-anchor/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
~/.cargo/bin/anchor
key: anchor-cli-${{ runner.os }}-v0002-${{ env.ANCHOR_VERSION }}-${{ env.ANCHOR_SHA }}
# if ANCHOR_VERSION is 0, then install the anchor-cli from source
- run: if [ $ANCHOR_VERSION -eq 0 ]; then cargo install --git https://github.com/coral-xyz/anchor anchor-cli --locked --force; else cargo install --git https://github.com/coral-xyz/anchor/tree/$ANCHOR_SHA --tag "v$ANCHOR_VERSION" anchor-cli --locked; fi
- run: if [ $ANCHOR_VERSION -eq 0 ]; then cargo install --git https://github.com/coral-xyz/anchor/tree/$ANCHOR_SHA anchor-cli --locked --force; else cargo install --git https://github.com/coral-xyz/anchor --tag "v$ANCHOR_VERSION" anchor-cli --locked; fi
shell: bash
if: steps.cache-anchor-cli.outputs.cache-hit != 'true'
- uses: actions/cache@v2
Expand Down

0 comments on commit ffdf1ab

Please sign in to comment.