Skip to content

Commit c4f5461

Browse files
committed
ci: enumerate if statements
Signed-off-by: Mike Nguyen <[email protected]>
1 parent 2f026a2 commit c4f5461

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-on-tag.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
4141
- name: Release Main
4242
uses: actions/create-release@v1
43-
if: !contains(github.ref , 'rc')
43+
if: ${{ !contains(github.ref , 'rc') }}
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
with:
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Release RC
5454
uses: actions/create-release@v1
55-
if: contains(github.ref, 'rc')
55+
if: ${{ contains(github.ref, 'rc') }}
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
with:

0 commit comments

Comments
 (0)