upload artifact

This commit is contained in:
SpikeHD 2022-04-21 21:13:38 -07:00 committed by GitHub
parent dde88db895
commit e4fc815cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,10 +4,18 @@ jobs:
Build-Server-Jar:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '8'
- run: .\gradlew.bat
- run: .\gradlew jar
- name: Run Gradle
run: .\gradlew.bat && .\gradlew jar
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: Grasscutter
path: grasscutter.jar