Skip to content

Commit 5c0054e

Browse files
committed
build: configure onDemand for release-please
1 parent 3c5fb14 commit 5c0054e

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

.github/release-please.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,29 @@ primaryBranch: main
22
releaseType: java-yoshi
33
manifest: true
44
handleGHRelease: true
5+
onDemand: true
56
branches:
67
- branch: 1.0.x
78
releaseType: java-backport
89
bumpMinorPreMajor: true
10+
onDemand: true
911
- branch: 1.13.x
1012
releaseType: java-backport
13+
onDemand: true
1114
- branch: 1.25.x
1215
releaseType: java-backport
16+
onDemand: true
1317
- branch: 1.37.x
1418
releaseType: java-backport
19+
onDemand: true
1520
- branch: 1.53.x
1621
releaseType: java-backport
22+
onDemand: true
1723
- branch: 1.61.x
1824
releaseType: java-backport
25+
onDemand: true
1926
- branch: 1.58.x
2027
releaseType: java-backport
28+
onDemand: true
2129
- branch: protobuf-4.x-rc
30+
onDemand: true

.github/workflows/sdk-platform-java-sonar.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,16 @@ jobs:
4747
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
4848
restore-keys: ${{ runner.os }}-m2
4949
- name: Install modules to local maven
50-
run: |
51-
mvn install -T 1C -DskipTests -ntp -B
52-
cd java-showcase
53-
mvn install -T 1C -DskipTests -ntp -B
50+
shell: bash
51+
run: .kokoro/build.sh
52+
env:
53+
BUILD_SUBDIR: sdk-platform-java
54+
JOB_TYPE: install
55+
- name: Install showcase to local maven
56+
run: mvn install -T 1C -DskipTests -ntp -B
57+
working-directory: sdk-platform-java/java-showcase
5458
- name: Parse showcase version
55-
working-directory: java-showcase/gapic-showcase
59+
working-directory: sdk-platform-java/java-showcase/gapic-showcase
5660
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
5761
- name: Install showcase server
5862
run: |

0 commit comments

Comments
 (0)