Skip to content

Commit 89d6248

Browse files
chore(java): install maven 3.8.1 at runtime (#1202) (#334)
1 parent 44c90e3 commit 89d6248

3 files changed

Lines changed: 16 additions & 4 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-java:latest
3-
digest: sha256:2595f321d9a9acf34c2d02e4dc5ec214ce07eecdb43978382d8a88476dec0c16
3+
digest: sha256:4837f2a7fdff2985b4f7432f8a6d6a87beacebf3ac071746532c0ce2e3f24b9b

java-workflows/.github/workflows/ci.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
java: [8, 11]
1313
steps:
1414
- uses: actions/checkout@v2
15+
- uses: stCarolas/setup-maven@v4
16+
with:
17+
maven-version: 3.8.1
1518
- uses: actions/setup-java@v1
1619
with:
1720
java-version: ${{matrix.java}}
@@ -37,6 +40,9 @@ jobs:
3740
java: [8, 11]
3841
steps:
3942
- uses: actions/checkout@v2
43+
- uses: stCarolas/setup-maven@v4
44+
with:
45+
maven-version: 3.8.1
4046
- uses: actions/setup-java@v1
4147
with:
4248
java-version: ${{matrix.java}}
@@ -46,6 +52,9 @@ jobs:
4652
runs-on: ubuntu-latest
4753
steps:
4854
- uses: actions/checkout@v2
55+
- uses: stCarolas/setup-maven@v4
56+
with:
57+
maven-version: 3.8.1
4958
- uses: actions/setup-java@v1
5059
with:
5160
java-version: 8
@@ -57,10 +66,13 @@ jobs:
5766
runs-on: ubuntu-latest
5867
steps:
5968
- uses: actions/checkout@v2
69+
- uses: stCarolas/setup-maven@v4
70+
with:
71+
maven-version: 3.8.1
6072
- uses: actions/setup-java@v1
6173
with:
6274
java-version: 8
6375
- run: java -version
6476
- run: .kokoro/build.sh
6577
env:
66-
JOB_TYPE: clirr
78+
JOB_TYPE: clirr

java-workflows/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
2727
If you are using Gradle without BOM, add this to your dependencies
2828

2929
```Groovy
30-
implementation 'com.google.cloud:google-cloud-workflows:2.0.2'
30+
implementation 'com.google.cloud:google-cloud-workflows:2.1.0'
3131
```
3232

3333
If you are using SBT, add this to your dependencies
3434

3535
```Scala
36-
libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.0.2"
36+
libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.1.0"
3737
```
3838

3939
## Authentication

0 commit comments

Comments
 (0)