Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 02:50:09 +01:00
update github action to the new setup
Dieser Commit ist enthalten in:
Ursprung
ab709d8405
Commit
5cdbd0064b
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -26,14 +26,14 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.m2/repository/
|
~/.gradle/caches
|
||||||
work/Minecraft
|
~/.gradle/jdks
|
||||||
key: ${{ runner.os }}-paper-2-${{ hashFiles('**/pom.xml') }}
|
~/.gradle/native
|
||||||
|
~/.gradle/wrapper
|
||||||
|
key: ${{ runner.os }}-paper-2-${{ hashFiles('**/*.gradle*', 'gradle/**', 'gradle.properties') }}
|
||||||
restore-keys: ${{ runner.os }}-paper-2
|
restore-keys: ${{ runner.os }}-paper-2
|
||||||
- name: Patch and build
|
- name: Patch and build
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "no-reply@github.com"
|
git config --global user.email "no-reply@github.com"
|
||||||
git config --global user.name "Github Actions"
|
git config --global user.name "Github Actions"
|
||||||
./paper build
|
./gradlew applyPatches build
|
||||||
- name: Build javadocs
|
|
||||||
run: mvn -pl Paper-API,Paper-MojangAPI -am javadoc:javadoc
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
java
|
java
|
||||||
id("com.github.johnrengelman.shadow") version "7.0.0" apply false
|
id("com.github.johnrengelman.shadow") version "7.0.0" apply false
|
||||||
id("io.papermc.paperweight.core") version "1.0.0-LOCAL-SNAPSHOT"
|
id("io.papermc.paperweight.core") version "1.0.0-SNAPSHOT"
|
||||||
}
|
}
|
||||||
|
|
||||||
val mcVersion = providers.gradleProperty("mcVersion")
|
val mcVersion = providers.gradleProperty("mcVersion")
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
maven("https://wav.jfrog.io/artifactory/repo/")
|
maven("https://wav.jfrog.io/artifactory/repo/")
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren