From 9d4cb733e21977182ca00f36aeed1c2d9449bc04 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Fri, 26 May 2023 14:57:20 -0400 Subject: [PATCH] Fix GitHub actions --- .github/workflows/build.yml | 2 +- .github/workflows/check_code.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e9b10486..002e37d07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: url: https://api.grasscutter.io/static/handbook.html target: src/main/resources/html/ - name: Run Gradle - run: ./gradlew && ./gradlew jar -PskipHandbook=1 + run: ./gradlew -PskipHandbook=1 && ./gradlew jar -PskipHandbook=1 - name: Upload build uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/check_code.yml b/.github/workflows/check_code.yml index 637bb49ba..565fd0eeb 100644 --- a/.github/workflows/check_code.yml +++ b/.github/workflows/check_code.yml @@ -33,7 +33,7 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - name: Format Code - run: ./gradlew && ./gradlew spotlessApply + run: ./gradlew -PskipHandbook=1 && ./gradlew spotlessApply -PskipHandbook=1 - run: git config --global user.name "github-actions" - run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"