Skip to content

Commit

Permalink
chore(java): install maven 3.8.1 at runtime (#1202)
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
  • Loading branch information
Neenu1995 authored Sep 2, 2021
1 parent 5c0fa62 commit ad7fd76
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion synthtool/gcp/templates/java_library/.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

0 comments on commit ad7fd76

Please sign in to comment.