mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-29 14:26:10 +00:00
Fix GitHub actions
This commit is contained in:
parent
1fef3f8a05
commit
9d4cb733e2
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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:
|
||||||
|
2
.github/workflows/check_code.yml
vendored
2
.github/workflows/check_code.yml
vendored
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user