diff options
author | Liam Miller-Cushon <cushon@google.com> | 2021-07-14 11:52:04 -0700 |
---|---|---|
committer | Javac Team <javac-team+copybara@google.com> | 2021-07-14 11:52:40 -0700 |
commit | 44dae62dd6d98b82c2c161bcd35a9208f987d4e4 (patch) | |
tree | 27147d8792b425e22638e8ed3d46032fdad3d419 /.github | |
parent | 83e27a5c741c3cd2cd6090766cdc1b69de949d6e (diff) | |
download | turbine-44dae62dd6d98b82c2c161bcd35a9208f987d4e4.tar.gz |
Update to setup-java v2, and use adopt builds
https://github.com/actions/setup-java/blob/main/docs/switching-to-v2.md
PiperOrigin-RevId: 384750269
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f5e9f1..87582f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,9 +60,10 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} + distribution: 'adopt' - name: 'Install' shell: bash run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V |