|
@@ -11,6 +11,14 @@ runs:
|
|
~/.cache/solana/
|
|
~/.cache/solana/
|
|
~/.local/share/solana/
|
|
~/.local/share/solana/
|
|
key: solana-${{ runner.os }}-v0000-${{ env.SOLANA_CLI_VERSION }}
|
|
key: solana-${{ runner.os }}-v0000-${{ env.SOLANA_CLI_VERSION }}
|
|
|
|
+ - uses: nick-fields/retry@v2
|
|
|
|
+ with:
|
|
|
|
+ retry_wait_seconds: 300
|
|
|
|
+ timeout_minutes: 2
|
|
|
|
+ max_attempts: 10
|
|
|
|
+ retry_on: error
|
|
|
|
+ shell: bash
|
|
|
|
+ command: sh -c "$(curl -sSfL https://release.solana.com/v${{ env.SOLANA_CLI_VERSION }}/install)"
|
|
- run: sh -c "$(curl -sSfL https://release.solana.com/v${{ env.SOLANA_CLI_VERSION }}/install)"
|
|
- run: sh -c "$(curl -sSfL https://release.solana.com/v${{ env.SOLANA_CLI_VERSION }}/install)"
|
|
shell: bash
|
|
shell: bash
|
|
- run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
|
|
- run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
|