mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-03-27 12:19:44 +01:00
fix github actions
This commit is contained in:
parent
b48d66abbe
commit
125aefacbb
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@ -29,11 +29,11 @@ jobs:
|
||||
|
||||
# 1. Check out the current working tree
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# 2. Setup Java 17 JDK (Adopt)
|
||||
- name: Java 17 setup
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-package: jdk
|
||||
@ -41,7 +41,7 @@ jobs:
|
||||
|
||||
# 3. Setup local Maven package cache to speed up building
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.m2
|
||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user