mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-03-30 16:26:24 +02: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
|
# 1. Check out the current working tree
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# 2. Setup Java 17 JDK (Adopt)
|
# 2. Setup Java 17 JDK (Adopt)
|
||||||
- name: Java 17 setup
|
- name: Java 17 setup
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-package: jdk
|
java-package: jdk
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
|
|
||||||
# 3. Setup local Maven package cache to speed up building
|
# 3. Setup local Maven package cache to speed up building
|
||||||
- name: Cache Maven packages
|
- name: Cache Maven packages
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.m2
|
path: ~/.m2
|
||||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user