Skip to content

Commit

Permalink
Update GitHub Actions pipeline to use JDK 17 for compilation only (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
eocantu committed Mar 14, 2022
1 parent ca91d82 commit 862a55a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java_version: ['11', '17']

steps:
- uses: actions/checkout@v2

- name: Set up Java 11
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 11
java-version: ${{ matrix.java_version }}

- name: Set up Maven cache
uses: actions/cache@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Java 11
- name: Set up Java 17
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
server-id: ossrh
server-username: SONATYPE_USERNAME # env variable for username in deploy
server-password: SONATYPE_PASSWORD # env variable for token in deploy
Expand Down

0 comments on commit 862a55a

Please sign in to comment.