Skip to content

Commit

Permalink
Migrating to Java 17. Upgrading GH Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-brandizi committed Jul 20, 2023
1 parent 6d088c3 commit efdd7eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:

steps:
- name: Code checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v2
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -60,5 +60,4 @@ jobs:
wget "$CI_DIR_URL/install.sh" -O ci-build/install.sh
bash ./ci-build/install.sh
bash ./ci-build/build.sh
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<source>11</source>
<release>11</release>
<source>17</source>
<release>17</release>
<encoding>utf-8</encoding>
</configuration>
</plugin>
Expand Down

0 comments on commit efdd7eb

Please sign in to comment.