From 3282e8742d0005ad3fe503d0fa3ea7631f998dce Mon Sep 17 00:00:00 2001 From: lumtis Date: Thu, 4 Jul 2024 14:51:57 +0200 Subject: [PATCH] retry solana config --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 346af7c..692918d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,8 +31,15 @@ jobs: run: | cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.0 anchor-cli --locked - - name: Generate new keygen - run: solana-keygen new + - name: Generate Solana keypair + run: | + mkdir -p ~/.config/solana + solana-keygen new --outfile ~/.config/solana/id.json + + - name: Setup Solana config + run: | + solana config set --url https://api.devnet.solana.com + solana config set --keypair ~/.config/solana/id.json - name: Install yarn dependencies run: yarn install