Use v3 actions

This commit is contained in:
HexedHero 2022-12-15 20:08:51 +00:00 committed by GitHub
parent 41d06bb6de
commit c8fc33d9d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest
if: "startsWith(github.event.head_commit.message, '[CI-BUILD]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK 17 (Java 17)
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@ -26,7 +26,7 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload artifacts (Jars)
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}
path: target/*.jar