Skip to content

Commit

Permalink
updated GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Apr 4, 2024
1 parent b736f85 commit 9e1fefa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/maven.yml
Expand Up @@ -24,13 +24,14 @@ jobs:

name: Build with Java ${{ matrix.java }} on Linux
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-jdk${{ matrix.java }}-${{ hashFiles('**/pom.xml', '**/*.yml') }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pr-windows-mac.yml
Expand Up @@ -14,11 +14,12 @@ jobs:

name: Build with Java 8 on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'temurin'
- name: Build with Maven
run: mvn verify
working-directory: com.examples.myproject
Expand Down

0 comments on commit 9e1fefa

Please sign in to comment.