Fix GitHub actions

This commit is contained in:
KingRainbow44 2023-05-26 14:57:20 -04:00
parent 1fef3f8a05
commit 9d4cb733e2
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ jobs:
url: https://api.grasscutter.io/static/handbook.html url: https://api.grasscutter.io/static/handbook.html
target: src/main/resources/html/ target: src/main/resources/html/
- name: Run Gradle - name: Run Gradle
run: ./gradlew && ./gradlew jar -PskipHandbook=1 run: ./gradlew -PskipHandbook=1 && ./gradlew jar -PskipHandbook=1
- name: Upload build - name: Upload build
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:

View File

@ -33,7 +33,7 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-gradle- ${{ runner.os }}-gradle-
- name: Format Code - 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.name "github-actions"
- run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"