Skip to content

Commit

Permalink
Update GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhydium committed Nov 16, 2024
1 parent 1b44dcc commit a8fb0a5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,16 @@ jobs:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: KitPvP.jar
path: target/KitPvP-1.0-SNAPSHOT.jar

0 comments on commit a8fb0a5

Please sign in to comment.