Skip to content

Commit 298b24d

Browse files
committed
Build & deploy: add branch release/3.0.0-SNAPSHOT
1 parent d6f6296 commit 298b24d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build Maven
33
on:
44
push:
55
pull_request:
6-
branches: [ master ]
6+
branches: [ 'master','release/3.0.0-SNAPSHOT' ]
77
jobs:
88
build-maven:
99
runs-on: ${{ matrix.os }}

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy Maven
22

33
on:
44
workflow_run:
5-
branches: [ master ]
5+
branches: [ 'master','release/3.0.0-SNAPSHOT' ]
66
workflows: ["Build Maven","Release Maven"]
77
types: [completed]
88
jobs:
@@ -26,6 +26,7 @@ jobs:
2626
with:
2727
fetch-depth: 0
2828
submodules: recursive
29+
ref: ${{ github.event.workflow_run.head_commit.id }}
2930
- name: Set up Java for publishing to Maven Central Repository OSS
3031
uses: actions/setup-java@v4
3132
with:

0 commit comments

Comments
 (0)