Skip to content

Commit

Permalink
Merge pull request Grasscutters#102 from SpikeHD/github_action_build
Browse files Browse the repository at this point in the history
GitHub build action
  • Loading branch information
KingRainbow44 committed Apr 22, 2022
2 parents 72f4407 + 1989d55 commit 7fdeb72
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Build"
on:
push:
branches:
- "stable"
jobs:
Build-Server-Jar:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '8'
- name: Run Gradle
run: .\gradlew.bat && .\gradlew jar
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: Grasscutter
path: grasscutter.jar

0 comments on commit 7fdeb72

Please sign in to comment.