Skip to content

Commit

Permalink
[actions] Use -latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
harawata committed Aug 4, 2023
1 parent 0478b7a commit 9eb5343
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, macos-10.15, windows-2019]
os: [ubuntu-latest, macos-latest, windows-latest]
java: [8, 11, 17, 18, 19, 20]

steps:
Expand Down
14 changes: 12 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -121,6 +121,16 @@
<maven.compiler.target>1.6</maven.compiler.target>
</properties>
</profile>
<profile>
<id>jdk12_19</id>
<activation>
<jdk>[12,20)</jdk>
</activation>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
</profile>
<profile>
<id>release</id>
<build>
Expand Down

0 comments on commit 9eb5343

Please sign in to comment.