Skip to content

Commit 94ee31d

Browse files
committed
ci: fix PRs
1 parent 86d2774 commit 94ee31d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
- CFLAGS="-O2 -fno-omit-frame-pointer -fsanitize=undefined -fno-var-tracking" --disable-bindings --disable-docs --enable-check-less
3838
- --enable-debug
3939
steps:
40-
- if: startsWith(github.ref, 'refs/tags/')
40+
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
4141
name: checkout for tag
4242
uses: actions/checkout@v4
4343
with:
4444
submodules: recursive
45-
- if: startsWith(github.ref, 'refs/heads/')
45+
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
4646
name: checkout for commit --depth 50
4747
uses: actions/checkout@v4
4848
with:

0 commit comments

Comments
 (0)