mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-25 19:46:30 +00:00
upload artifact
This commit is contained in:
parent
d84d7d48aa
commit
e576884b05
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -4,10 +4,18 @@ jobs:
|
|||||||
Build-Server-Jar:
|
Build-Server-Jar:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout
|
||||||
- uses: actions/setup-java@v3
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: '8'
|
java-version: '8'
|
||||||
- run: .\gradlew.bat
|
- name: Run Gradle
|
||||||
- run: .\gradlew jar
|
run: .\gradlew.bat && .\gradlew jar
|
||||||
|
- name: Upload build
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: Grasscutter
|
||||||
|
path: grasscutter.jar
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user