Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
92bd6b7f
Commit
92bd6b7f
authored
Mar 07, 2020
by
Him188
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
e222465d
d97e7b78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
.github/workflows/main2.yml
.github/workflows/main2.yml
+40
-0
No files found.
.github/workflows/main2.yml
0 → 100644
View file @
92bd6b7f
# This is a basic workflow to help you get started with Actions
name
:
Shadow
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on
:
release
:
types
:
-
created
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs
:
# This workflow contains a single job called "build"
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up JDK
1.8
uses
:
actions/setup-java@v1
with
:
java-version
:
1.8
-
name
:
Grant execute permission for gradlew
run
:
chmod +x gradlew
-
name
:
Build with Gradle and shadowJar
run
:
./gradlew :mirai-core:shadowJar :mirai-core-qqandroid:shadowJar
-
name
:
Upload artifact
uses
:
actions/upload-artifact@v1.0.0
with
:
# Artifact name
name
:
mirai-core-all
# Directory containing files to upload
path
:
"
mirai-core/build/libs/mirai-core-*-all.jar"
-
name
:
Upload artifact
uses
:
actions/upload-artifact@v1.0.0
with
:
# Artifact name
name
:
mirai-core-qqandroid-all
# Directory containing files to upload
path
:
"
mirai-core-qqandroid/build/libs/mirai-core-qqandroid-*-all.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