mirror of
https://github.com/SparklyPower/SparklyPaper.git
synced 2025-12-19 15:09:27 +00:00
Update workflows
This commit is contained in:
7
.github/workflows/auto-update.yml
vendored
7
.github/workflows/auto-update.yml
vendored
@@ -1,9 +1,8 @@
|
||||
name: Automatically update Paper commit hash
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
# Paper did not release a ver/1.21.3 branch, so we need to disable it manually
|
||||
# schedule:
|
||||
# - cron: "0 0 * * *"
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -12,7 +11,7 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: 'SparklyPaper'
|
||||
ref: 'ver/1.21.3'
|
||||
ref: 'ver/1.21.4'
|
||||
token: ${{ secrets.LORITTA_PAT }}
|
||||
|
||||
- name: Checkout Paper Repository
|
||||
|
||||
6
.github/workflows/build-without-pwt.yml
vendored
6
.github/workflows/build-without-pwt.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Delete Parallel world ticking patch
|
||||
run: rm sparklypaper-server/minecraft-patches/features/*-Parallel-world-ticking.patch sparklypaper-server/paper-patches/features/*-Parallel-world-ticking.patch
|
||||
- name: Apply Patches
|
||||
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt applyPatches
|
||||
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt applyAllPatches
|
||||
- name: Build
|
||||
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt build
|
||||
- name: Create Paperclip JAR
|
||||
@@ -38,9 +38,9 @@ jobs:
|
||||
name: "Upload Mojang Mappings Paperclip JAR"
|
||||
with:
|
||||
name: SparklyPaper (without Parallel World Ticking) Paperclip (Mojang Mappings - mojmap)
|
||||
path: "build/libs/SparklyPaper-paperclip-*-mojmap.jar"
|
||||
path: "sparklypaper-server/build/libs/SparklyPaper-paperclip-*-mojmap.jar"
|
||||
- uses: actions/upload-artifact@v4
|
||||
name: "Upload Spigot Mappings (reobf) Paperclip JAR"
|
||||
with:
|
||||
name: SparklyPaper (without Parallel World Ticking) Paperclip (Spigot Mappings - reobf)
|
||||
path: "build/libs/SparklyPaper-paperclip-*-reobf.jar"
|
||||
path: "sparklypaper-server/build/libs/SparklyPaper-paperclip-*-reobf.jar"
|
||||
|
||||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Apply Patches
|
||||
run: ./gradlew applyPatches
|
||||
run: ./gradlew applyAllPatches
|
||||
- name: Build
|
||||
run: ./gradlew build
|
||||
- name: Publish publications and dev bundle
|
||||
@@ -41,9 +41,9 @@ jobs:
|
||||
name: "Upload Mojang Mappings Paperclip JAR"
|
||||
with:
|
||||
name: SparklyPaper Paperclip (Mojang Mappings - mojmap)
|
||||
path: "build/libs/SparklyPaper-paperclip-*-mojmap.jar"
|
||||
path: "sparklypaper-server/build/libs/SparklyPaper-paperclip-*-mojmap.jar"
|
||||
- uses: actions/upload-artifact@v4
|
||||
name: "Upload Spigot Mappings (reobf) Paperclip JAR"
|
||||
with:
|
||||
name: SparklyPaper Paperclip (Spigot Mappings - reobf)
|
||||
path: "build/libs/SparklyPaper-paperclip-*-reobf.jar"
|
||||
path: "sparklypaper-server/build/libs/SparklyPaper-paperclip-*-reobf.jar"
|
||||
Reference in New Issue
Block a user