Skip to content

Commit 48f6c24

Browse files
Merge pull request #319 from microsoftgraph/ramsessanchez-patch-1
Update release/preview condtions
2 parents 57c05f3 + 69cd862 commit 48f6c24

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 == 'refs/heads/master' }}
5555
environment:
5656
name: maven_central_release
5757
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)