fix: cargo git-fetch-with-cli для загрузки anchor из git
This commit is contained in:
@@ -28,6 +28,8 @@ jobs:
|
||||
- name: Setup Anchor CLI (anchor-next)
|
||||
run: |
|
||||
. "$HOME/.cargo/env"
|
||||
mkdir -p "$HOME/.cargo"
|
||||
printf '[net]\ngit-fetch-with-cli = true\n' > "$HOME/.cargo/config.toml"
|
||||
cargo install --force --git https://github.com/anchor-lang/anchor.git \
|
||||
--branch anchor-next anchor-cli --locked
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
Reference in New Issue
Block a user