Skip to content

Commit 3bdc8cf

Browse files
committed
💚 Fix CI skip step
1 parent c8a6ae0 commit 3bdc8cf

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/run-tests.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,6 @@ jobs:
103103

104104
- uses: actions/checkout@v4
105105

106-
- name: Set ON_RELEASE_BRANCH based on trigger
107-
shell: bash
108-
run: echo "ON_RELEASE_BRANCH=true" >> $GITHUB_ENV
109-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release/v')
110-
111106
- name: Use Node ${{ matrix.node }}
112107
uses: actions/setup-node@v4
113108
with:
@@ -170,7 +165,7 @@ jobs:
170165
171166
- name: Install the Bolt CLI and create & build a new project
172167
shell: bash
173-
if: ${{ env.ON_RELEASE_BRANCH != 'true' }}
168+
if: ${{ !startsWith(github.ref, 'refs/heads/release/v') && !startsWith(github.head_ref, 'release/v') }}
174169
run: |
175170
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
176171
cargo install --path cli --force --locked

0 commit comments

Comments
 (0)