Skip to content

Commit 5ef8e26

Browse files
committed
chore(ci): Remove retry action
1 parent 2e2bf21 commit 5ef8e26

File tree

2 files changed

+4
-20
lines changed

2 files changed

+4
-20
lines changed

.github/actions/setup-solana/action.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,8 @@ runs:
1111
~/.cache/solana/
1212
~/.local/share/solana/
1313
key: solana-${{ runner.os }}-v0000-${{ env.SOLANA_VERSION }}
14-
- uses: nick-fields/retry@v2
15-
if: steps.cache-solana.outputs.cache-hit != 'true'
16-
with:
17-
retry_wait_seconds: 300
18-
timeout_minutes: 2
19-
max_attempts: 10
20-
retry_on: error
21-
shell: bash
22-
command: sh -c "$(curl -sSfL https://release.anza.xyz/v${{ env.SOLANA_VERSION }}/install)"
14+
- run: sh -c "$(curl -sSfL https://release.anza.xyz/v${{ env.SOLANA_VERSION }}/install)"
15+
shell: bash
2316
- run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
2417
shell: bash
2518
- run: solana-keygen new --no-bip39-passphrase

.github/actions/setup-surfpool/action.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,12 @@ runs:
1313
# Issue: https://github.com/solana-foundation/anchor/issues/4160
1414
key: surfpool-${{ runner.os }}-v${{ env.SURFPOOL_CLI_VERSION }}
1515

16-
- uses: nick-fields/retry@v2
17-
if: steps.cache-surfpool.outputs.cache-hit != 'true'
18-
with:
19-
retry_wait_seconds: 300
20-
timeout_minutes: 2
21-
max_attempts: 10
22-
retry_on: error
23-
shell: bash
24-
command: |
16+
- run: |
2517
set -euxo pipefail
2618
echo "Installing Surfpool version ${{ env.SURFPOOL_CLI_VERSION }}"
2719
curl -sL https://run.surfpool.run/ | VERSION=v${{ env.SURFPOOL_CLI_VERSION }} bash
2820
echo "$HOME/.local/bin" >> $GITHUB_PATH
2921
echo "$PATH"
3022
ls -al $HOME/.local/bin
31-
32-
23+
shell: bash
3324

0 commit comments

Comments
 (0)