Skip to content

Commit

Permalink
Update to setup-java v2, and use adopt builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cushon authored and google-java-format Team committed Jul 14, 2021
1 parent 135f5e9 commit 89b06cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand All @@ -86,9 +87,10 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: 'Set up JDK 15'
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 15
distribution: 'adopt'
server-id: sonatype-nexus-snapshots
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
Expand Down

0 comments on commit 89b06cb

Please sign in to comment.