Commit 002edb84 authored by Magix's avatar Magix Committed by GitHub
Browse files

Merge pull request #137 from fumbling644o/development-actions

Workflow: Use Ubuntu and trigger on PR actions
parents a945c218 220f252f
......@@ -3,9 +3,14 @@ on:
push:
branches:
- "stable"
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
Build-Server-Jar:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
......@@ -13,12 +18,11 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '8'
java-version: '16'
- name: Run Gradle
run: .\gradlew.bat && .\gradlew jar
run: ./gradlew && ./gradlew jar
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: Grasscutter
path: grasscutter.jar
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment