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
|
name: Automatically update Paper commit hash
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
# Paper did not release a ver/1.21.3 branch, so we need to disable it manually
|
schedule:
|
||||||
# schedule:
|
- cron: "0 0 * * *"
|
||||||
# - cron: "0 0 * * *"
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -12,7 +11,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: 'SparklyPaper'
|
path: 'SparklyPaper'
|
||||||
ref: 'ver/1.21.3'
|
ref: 'ver/1.21.4'
|
||||||
token: ${{ secrets.LORITTA_PAT }}
|
token: ${{ secrets.LORITTA_PAT }}
|
||||||
|
|
||||||
- name: Checkout Paper Repository
|
- 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
|
- 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
|
run: rm sparklypaper-server/minecraft-patches/features/*-Parallel-world-ticking.patch sparklypaper-server/paper-patches/features/*-Parallel-world-ticking.patch
|
||||||
- name: Apply Patches
|
- name: Apply Patches
|
||||||
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt applyPatches
|
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt applyAllPatches
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt build
|
run: ./gradlew -PsparklypaperImplementationVersionSuffix=without-pwt build
|
||||||
- name: Create Paperclip JAR
|
- name: Create Paperclip JAR
|
||||||
@@ -38,9 +38,9 @@ jobs:
|
|||||||
name: "Upload Mojang Mappings Paperclip JAR"
|
name: "Upload Mojang Mappings Paperclip JAR"
|
||||||
with:
|
with:
|
||||||
name: SparklyPaper (without Parallel World Ticking) Paperclip (Mojang Mappings - mojmap)
|
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
|
- uses: actions/upload-artifact@v4
|
||||||
name: "Upload Spigot Mappings (reobf) Paperclip JAR"
|
name: "Upload Spigot Mappings (reobf) Paperclip JAR"
|
||||||
with:
|
with:
|
||||||
name: SparklyPaper (without Parallel World Ticking) Paperclip (Spigot Mappings - reobf)
|
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
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Apply Patches
|
- name: Apply Patches
|
||||||
run: ./gradlew applyPatches
|
run: ./gradlew applyAllPatches
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- name: Publish publications and dev bundle
|
- name: Publish publications and dev bundle
|
||||||
@@ -41,9 +41,9 @@ jobs:
|
|||||||
name: "Upload Mojang Mappings Paperclip JAR"
|
name: "Upload Mojang Mappings Paperclip JAR"
|
||||||
with:
|
with:
|
||||||
name: SparklyPaper Paperclip (Mojang Mappings - mojmap)
|
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
|
- uses: actions/upload-artifact@v4
|
||||||
name: "Upload Spigot Mappings (reobf) Paperclip JAR"
|
name: "Upload Spigot Mappings (reobf) Paperclip JAR"
|
||||||
with:
|
with:
|
||||||
name: SparklyPaper Paperclip (Spigot Mappings - reobf)
|
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