Skip to content

Commit 521d8dd

Browse files
committed
Fix GitHub Actions condition syntax for consistency
1 parent c8dd858 commit 521d8dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
create-github-prerelease:
1616
runs-on: ubuntu-latest
17-
if: github.event_name == 'push' && contains(github.ref_name, 'rc')
17+
if: ${{ github.event_name == 'push' && contains(github.ref_name, 'rc') }}
1818
permissions:
1919
contents: write
2020

@@ -32,7 +32,7 @@ jobs:
3232

3333
create-github-release:
3434
runs-on: ubuntu-latest
35-
if: github.event_name == 'push' && !contains(github.ref_name, 'rc')
35+
if: ${{ github.event_name == 'push' && !contains(github.ref_name, 'rc') }}
3636
permissions:
3737
contents: write
3838

0 commit comments

Comments
 (0)