File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 steps :
4545 - uses : actions/checkout@v4
4646 - uses : dtolnay/rust-toolchain@stable
47- - uses : metacraft-labs/solana-toolchain-install-action@v0.2
47+ - run : sudo apt-get update && sudo apt-get install -y pkg-config build-essential libudev-dev
48+
49+ - uses : actions/cache@v4
50+ id : cache-solana
51+ with :
52+ path : |
53+ ~/.cache/solana
54+ ~/.local/share/solana
55+ key : solana-${{ runner.os }}-v0001-stable
56+
57+ - name : Install Solana CLI
58+ if : steps.cache-solana.outputs.cache-hit != 'true'
59+ run : sh -c "$(curl -sSfL https://release.anza.xyz/v2.1.14/install)"
60+
61+ - name : Set Solana path
62+ run : echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
63+
64+ - name : Create default keypair
65+ run : solana-keygen new -s --no-bip39-passphrase --force
66+
4867 - uses : actions/cache@v4
4968 with :
5069 path : |
You can’t perform that action at this time.
0 commit comments