Skip to content

Commit

Permalink
chore(java): install maven 3.8.1 at runtime (#544)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
yoshi-automation authored Sep 8, 2021
1 parent cb3512b commit e1e7898
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion java-core/.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
4 changes: 2 additions & 2 deletions java-core/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-core.git",
"sha": "ee82eaed6ae4d877ecc865b8c32de2577ffcbcbc"
"sha": "3c4f4797f43b9a26710b53769ed0a98384e0fb61"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "9a238a0623879c3de129a376c6085d4a862f6eb9"
"sha": "ad7fd76e17bf9494a3e47ff9cf445f61564432e0"
}
}
],
Expand Down

0 comments on commit e1e7898

Please sign in to comment.