We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf9d723 commit 88b3f97Copy full SHA for 88b3f97
.github/workflows/test-action.yml
@@ -13,9 +13,15 @@ jobs:
13
echo ${{ startsWith(github.ref_name, 'refs/tags/v')}}
14
15
16
- test-if:
+ test-if1:
17
runs-on: ubuntu-22.04
18
- if: github.ref == 'refs/heads/feature/optimize-the-github-actions' && ${{ startsWith(github.ref_name, 'refs/tags/v')}}
+ 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')}}
25
steps:
26
- run: echo hello
27
0 commit comments