Update GitHub Actions to use 'download-file' over 'wget'

This commit is contained in:
KingRainbow44
2023-05-15 03:46:23 -04:00
parent 8ecb890fbe
commit 386ad9aa66
2 changed files with 24 additions and 11 deletions

View File

@@ -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