Skip to content

Commit

Permalink
Merge pull request #119 from LEMS/experimental
Browse files Browse the repository at this point in the history
Test on Java 21
  • Loading branch information
pgleeson authored May 1, 2024
2 parents a6ec557 + 66acec4 commit 4179fb1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,20 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ '8', '11', '16', '17', '19' ]
java: [ '8', '11', '16', '17', '19', '21' ]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- runs-on: macos-latest
java: "8"
- runs-on: macos-latest
java: "16"


name: Test on Java ${{ matrix.Java }} on ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.Java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.Java }}
distribution: 'temurin'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: nelonoel/[email protected]

# https://stackoverflow.com/questions/58033366/how-to-get-current-branch-within-github-actions
Expand All @@ -20,7 +20,7 @@ jobs:
id: extract_branch

- name: Checkout lems
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: LEMS/LEMS
ref: ${{ steps.extract_branch.outputs.branch }}
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 4179fb1

Please sign in to comment.