Skip to content

Commit

Permalink
💚 Fix CI skip step
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Feb 26, 2024
1 parent c8a6ae0 commit 3bdc8cf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ jobs:

- uses: actions/checkout@v4

- name: Set ON_RELEASE_BRANCH based on trigger
shell: bash
run: echo "ON_RELEASE_BRANCH=true" >> $GITHUB_ENV
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release/v')

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -170,7 +165,7 @@ jobs:
- name: Install the Bolt CLI and create & build a new project
shell: bash
if: ${{ env.ON_RELEASE_BRANCH != 'true' }}
if: ${{ !startsWith(github.ref, 'refs/heads/release/v') && !startsWith(github.head_ref, 'release/v') }}
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
cargo install --path cli --force --locked
Expand Down

0 comments on commit 3bdc8cf

Please sign in to comment.