Skip to content

Commit 0286db9

Browse files
Update release/preview condtions
1 parent 57c05f3 commit 0286db9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121

2222
jobs:
2323
maven_Preview:
24-
if: ${{ github.ref == 'refs/head/dev' }}
24+
if: ${{ github.ref == 'refs/heads/dev' }}
2525
environment:
2626
name: maven_central_snapshot
2727
runs-on: ubuntu-latest
@@ -51,7 +51,7 @@ jobs:
5151
run: ./gradlew $PREVIEW_TASK
5252

5353
maven_Release:
54-
if: ${{ github.ref == 'ref/head/master' }}
54+
if: ${{ github.ref == 'ref/heads/master' }}
5555
environment:
5656
name: maven_central_release
5757
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)