From 02d95b7d12f6f741012c7a88bd3f4f4df433e2cf Mon Sep 17 00:00:00 2001 From: moonleay Date: Sat, 5 Aug 2023 02:15:48 +0200 Subject: [PATCH] fix: fixed build.yml??????????? Signed-off-by: moonleay --- .forgejo/workflows/build.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 99a562c..3220fa3 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -4,23 +4,19 @@ jobs: runs-on: docker container: image: gradle + uses: git.moonleay.net/DiscordBots/liljudd/actions/checkout@v3 steps: - - name: Checkout project sources - uses: actions/checkout@v2 - - name: Clean Caches run: | - rm -f .gradle/caches/modules-2/modules-2.lock + rm -f .gradle/caches/modules-2/modules-2.lock rm -fr .gradle/caches/*/plugin-resolution/ - - - name: Setup Gradle User Home - run: export GRADLE_USER_HOME=`pwd`/.gradle - + - name: Export Gradle User Home + uses: export GRADLE_USER_HOME=`pwd`/.gradle + - name: Checkout project sources + uses: actions/checkout@v3 - name: Setup Gradle uses: gradle/gradle-build-action@v2 - with: - args: shadowJar publish - env: - GRADLE_OPTS: "-Dorg.gradle.daemon=false" - GIT_SUBMODULE_STRATEGY: recursive - working-directory: ${{ github.workspace }} + - name: Run shadowJar + run: gradle shadowJar + - name: Run publish + run: gradle publish