Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
d1d8378e
Commit
d1d8378e
authored
Apr 22, 2022
by
fumbling
Browse files
Workflow: Use Ubuntu and add PR triggers
parent
3707ee54
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build.yml
View file @
d1d8378e
...
@@ -3,9 +3,14 @@ on:
...
@@ -3,9 +3,14 @@ on:
push
:
push
:
branches
:
branches
:
-
"
stable"
-
"
stable"
pull_request
:
types
:
-
opened
-
synchronize
-
reopened
jobs
:
jobs
:
Build-Server-Jar
:
Build-Server-Jar
:
runs-on
:
windows
-latest
runs-on
:
ubuntu
-latest
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v2
uses
:
actions/checkout@v2
...
@@ -15,10 +20,9 @@ jobs:
...
@@ -15,10 +20,9 @@ jobs:
distribution
:
temurin
distribution
:
temurin
java-version
:
'
8'
java-version
:
'
8'
-
name
:
Run Gradle
-
name
:
Run Gradle
run
:
.
\
gradlew
.bat
&& .
\
gradlew jar
run
:
.
/
gradlew && .
/
gradlew jar
-
name
:
Upload build
-
name
:
Upload build
uses
:
actions/upload-artifact@v3
uses
:
actions/upload-artifact@v3
with
:
with
:
name
:
Grasscutter
name
:
Grasscutter
path
:
grasscutter.jar
path
:
grasscutter.jar
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment