mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-23 04:15:49 +01:00
Update GitHub Actions to use 'download-file' over 'wget'
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -38,7 +38,10 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
- name: Download Handbook
|
||||
run: wget https://api.grasscutter.io/static/handbook.html -O src/main/resources/handbook.html
|
||||
uses: suisei-cn/actions-download-file@v1.4.0
|
||||
with:
|
||||
url: https://api.grasscutter.io/static/handbook.html
|
||||
target: src/main/resources/
|
||||
- name: Run Gradle
|
||||
run: ./gradlew && ./gradlew jar
|
||||
- name: Upload build
|
||||
|
||||
Reference in New Issue
Block a user