From 0885a47af9c344d040213a710d2df9a90e65e6b1 Mon Sep 17 00:00:00 2001 From: screret <68943070+screret@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:24:47 +0300 Subject: [PATCH] yippee it works --- .github/actions/build_setup/action.yml | 5 +++++ .github/workflows/auto-build.yml | 4 ---- .github/workflows/auto-publish.yml | 4 ---- .github/workflows/build-on-push.yml | 4 ---- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/actions/build_setup/action.yml b/.github/actions/build_setup/action.yml index 40e38cd7df..4de2577cfa 100644 --- a/.github/actions/build_setup/action.yml +++ b/.github/actions/build_setup/action.yml @@ -38,3 +38,8 @@ runs: notifications jdks wrapper + + # run gradlew jar to set up necessary files before shadow can break them in the Build step + - name: Pre-build + shell: bash + run: ./gradlew jar --build-cache diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index ba7501a95c..fbd05675b6 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -26,10 +26,6 @@ jobs: - name: Setup Build uses: ./.github/actions/build_setup - # run gradlew jar to set up necessary files before shadow can break them in the Build step - - name: Setup Build part 2 - run: ./gradlew jar --build-cache - - name: Build run: ./gradlew build --build-cache diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml index bb97683f09..d531bc1dcd 100644 --- a/.github/workflows/auto-publish.yml +++ b/.github/workflows/auto-publish.yml @@ -39,10 +39,6 @@ jobs: - name: Setup Build uses: ./.github/actions/build_setup - # run gradlew jar to set up necessary files before shadow can break them in the Build step - - name: Setup Build part 2 - run: ./gradlew jar --build-cache - - name: Build run: ./gradlew build --build-cache diff --git a/.github/workflows/build-on-push.yml b/.github/workflows/build-on-push.yml index eb0780dbf5..cde92e010b 100644 --- a/.github/workflows/build-on-push.yml +++ b/.github/workflows/build-on-push.yml @@ -30,10 +30,6 @@ jobs: if: steps.filter.outputs.code == 'true' uses: ./.github/actions/build_setup - # run gradlew jar to set up necessary files before shadow can break them in the Build step - - name: Setup Build part 2 - run: ./gradlew jar --build-cache - - name: Build if: steps.filter.outputs.code == 'true' run: ./gradlew assemble --build-cache