From a415bf72de11dc87ea48a054352285dffab92c50 Mon Sep 17 00:00:00 2001 From: granny Date: Mon, 13 Jan 2025 02:12:39 -0800 Subject: [PATCH] update workflow script and configuration files --- .github/workflows/build.yml | 6 ++--- .../Run_Purpur_Paperclip_Jar.xml | 4 +-- ...l => Upstream_Paper__applyAllPatches_.xml} | 6 ++--- .../Upstream_Paper__build_.xml | 4 +-- ...stream_Paper__rebuildAllServerPatches_.xml | 26 +++++++++++++++++++ ...aper__rebuildPaperApiGeneratorPatches_.xml | 26 +++++++++++++++++++ ...stream_Paper__rebuildPaperApiPatches_.xml} | 8 +++--- 7 files changed, 66 insertions(+), 14 deletions(-) rename .idea/runConfigurations/{Upstream_Paper__applyPatches_.xml => Upstream_Paper__applyAllPatches_.xml} (78%) create mode 100644 .idea/runConfigurations/Upstream_Paper__rebuildAllServerPatches_.xml create mode 100644 .idea/runConfigurations/Upstream_Paper__rebuildPaperApiGeneratorPatches_.xml rename .idea/runConfigurations/{Upstream_Paper__rebuildPatches_.xml => Upstream_Paper__rebuildPaperApiPatches_.xml} (76%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24c276e11..c073a7728 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,12 +21,12 @@ jobs: - name: Configure Git run: git config --global user.email "no-reply@github.com" && git config --global user.name "Github Actions" - name: Apply Patches - run: ./gradlew applyPatches --no-daemon --stacktrace + run: ./gradlew applyAllPatches --no-daemon --stacktrace - name: Build run: ./gradlew build --no-daemon --stacktrace - name: Rebuild on Failure if: ${{ failure() }} run: | - ./gradlew clean cleanCache - ./gradlew applyPatches --no-daemon --stacktrace + ./gradlew clean cleanCache --refresh-dependencies + ./gradlew applyAllPatches --no-daemon --stacktrace ./gradlew build --no-daemon --stacktrace diff --git a/.idea/runConfigurations/Run_Purpur_Paperclip_Jar.xml b/.idea/runConfigurations/Run_Purpur_Paperclip_Jar.xml index 3f3ea1dc5..72f5fa6c4 100644 --- a/.idea/runConfigurations/Run_Purpur_Paperclip_Jar.xml +++ b/.idea/runConfigurations/Run_Purpur_Paperclip_Jar.xml @@ -1,6 +1,6 @@ - - + \ No newline at end of file diff --git a/.idea/runConfigurations/Upstream_Paper__applyPatches_.xml b/.idea/runConfigurations/Upstream_Paper__applyAllPatches_.xml similarity index 78% rename from .idea/runConfigurations/Upstream_Paper__applyPatches_.xml rename to .idea/runConfigurations/Upstream_Paper__applyAllPatches_.xml index e3255f71d..ef348a313 100644 --- a/.idea/runConfigurations/Upstream_Paper__applyPatches_.xml +++ b/.idea/runConfigurations/Upstream_Paper__applyAllPatches_.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations/Upstream_Paper__build_.xml b/.idea/runConfigurations/Upstream_Paper__build_.xml index 195cdef25..b3491f8c0 100644 --- a/.idea/runConfigurations/Upstream_Paper__build_.xml +++ b/.idea/runConfigurations/Upstream_Paper__build_.xml @@ -20,7 +20,7 @@ false false - - + \ No newline at end of file diff --git a/.idea/runConfigurations/Upstream_Paper__rebuildAllServerPatches_.xml b/.idea/runConfigurations/Upstream_Paper__rebuildAllServerPatches_.xml new file mode 100644 index 000000000..7e0110e69 --- /dev/null +++ b/.idea/runConfigurations/Upstream_Paper__rebuildAllServerPatches_.xml @@ -0,0 +1,26 @@ + + + + + + + true + true + false + false + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Upstream_Paper__rebuildPaperApiGeneratorPatches_.xml b/.idea/runConfigurations/Upstream_Paper__rebuildPaperApiGeneratorPatches_.xml new file mode 100644 index 000000000..b1025a73c --- /dev/null +++ b/.idea/runConfigurations/Upstream_Paper__rebuildPaperApiGeneratorPatches_.xml @@ -0,0 +1,26 @@ + + + + + + + true + true + false + false + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Upstream_Paper__rebuildPatches_.xml b/.idea/runConfigurations/Upstream_Paper__rebuildPaperApiPatches_.xml similarity index 76% rename from .idea/runConfigurations/Upstream_Paper__rebuildPatches_.xml rename to .idea/runConfigurations/Upstream_Paper__rebuildPaperApiPatches_.xml index 0188aeb0f..ed88625b0 100644 --- a/.idea/runConfigurations/Upstream_Paper__rebuildPatches_.xml +++ b/.idea/runConfigurations/Upstream_Paper__rebuildPaperApiPatches_.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file