Browse Source

--force keygen in action for fresh builds

Ayush 5 months ago
parent
commit
620ae47155
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .github/workflows/anchor.yml

+ 2 - 1
.github/workflows/anchor.yml

@@ -111,7 +111,8 @@ jobs:
       - name: Display Versions and Install pnpm
         run: |
           solana -V
-          solana-keygen new --no-bip39-passphrase
+          # it's okay to use --force in github action since all programs are tested in isolation
+          solana-keygen new --no-bip39-passphrase --force
           rustc -V
           anchor -V
           npm i -g pnpm