Skip to content

Commit

Permalink
chore(java): install maven 3.8.1 at runtime (#1407)
Browse files Browse the repository at this point in the history
* chore(java): install maven 3.8.1 at runtime

* chore: pin github action runner at ubuntu-16.04

* chore: install maven 3.8.1 at runtime

* chore: fix typo

Source-Author: Neenu Shaji <[email protected]>
Source-Date: Thu Sep 2 15:46:06 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: ad7fd76e17bf9494a3e47ff9cf445f61564432e0
Source-Link: googleapis/synthtool@ad7fd76

* chore: setup maven 3.8.1 for ci tasks

For the samples ci steps and tests against emulator ci steps

Co-authored-by: Thiago Nunes <[email protected]>
  • Loading branch information
yoshi-automation and thiagotnunes authored Sep 6, 2021
1 parent 6b37ea2 commit ca6808c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
java: [8, 11]
steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
with:
maven-version: 3.8.1
- uses: actions/setup-java@v1
with:
java-version: ${{matrix.java}}
Expand All @@ -37,6 +40,9 @@ jobs:
java: [8, 11]
steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
with:
maven-version: 3.8.1
- uses: actions/setup-java@v1
with:
java-version: ${{matrix.java}}
Expand All @@ -46,6 +52,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
with:
maven-version: 3.8.1
- uses: actions/setup-java@v1
with:
java-version: 8
Expand All @@ -57,10 +66,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
with:
maven-version: 3.8.1
- uses: actions/setup-java@v1
with:
java-version: 8
- run: java -version
- run: .kokoro/build.sh
env:
JOB_TYPE: clirr
JOB_TYPE: clirr
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests-against-emulator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
with:
maven-version: 3.8.1
- uses: actions/setup-java@v1
with:
java-version: 8
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/samples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
with:
maven-version: 3.8.1
- uses: actions/setup-java@v1
with:
java-version: 8
Expand All @@ -19,6 +22,9 @@ jobs:
java: [8, 11]
steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
with:
maven-version: 3.8.1
- uses: actions/setup-java@v1
with:
java-version: ${{matrix.java}}
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-spanner.git",
"sha": "d28d8a1d710b1cd47ef3b2ca1fa87750a007b5cf"
"sha": "c9f504829f53bfcff6f78bbbbc447cc8f10f5940"
}
},
{
Expand All @@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "9a238a0623879c3de129a376c6085d4a862f6eb9"
"sha": "ad7fd76e17bf9494a3e47ff9cf445f61564432e0"
}
}
],
Expand Down

0 comments on commit ca6808c

Please sign in to comment.