Skip to content

Commit e8afded

Browse files
Update YML to publish v3 preview branch
Release v3 preview when pushing to v3/longTermBranch
1 parent 391a7ac commit e8afded

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
@@ -2,7 +2,7 @@ name: Build and Publish
22

33
on:
44
push:
5-
branches: [ dev , master ]
5+
branches: [ dev , master, v3/longTermBranch ]
66
paths-ignore:
77
- '.gradle/wrapper'
88
- '.gitignore'
@@ -15,7 +15,7 @@ env:
1515

1616
jobs:
1717
maven_Preview:
18-
if: ${{ github.ref == 'refs/heads/dev' }}
18+
if: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/v3/longTermBranch'}}
1919
environment:
2020
name: maven_central_snapshot
2121
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)