Skip to content

Commit 88b3f97

Browse files
committed
f
1 parent cf9d723 commit 88b3f97

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test-action.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ jobs:
1313
echo ${{ startsWith(github.ref_name, 'refs/tags/v')}}
1414
1515
16-
test-if:
16+
test-if1:
1717
runs-on: ubuntu-22.04
18-
if: github.ref == 'refs/heads/feature/optimize-the-github-actions' && ${{ startsWith(github.ref_name, 'refs/tags/v')}}
18+
if: ${{ github.ref == 'refs/heads/feature/optimize-the-github-actions' && startsWith(github.ref_name, '1')}}
19+
steps:
20+
- run: echo hello
21+
22+
test-if2:
23+
runs-on: ubuntu-22.04
24+
if: ${{ github.ref == 'refs/heads/feature/optimize-the-github-actions' && startsWith(github.ref_name, '2')}}
1925
steps:
2026
- run: echo hello
2127

0 commit comments

Comments
 (0)