mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-04 15:40:13 +08:00
Delete shadow.yml
This commit is contained in:
parent
61debf93b0
commit
d97e7b7856
34
.github/workflows/shadow.yml
vendored
34
.github/workflows/shadow.yml
vendored
@ -1,34 +0,0 @@
|
|||||||
name: ShadowPublish
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types:
|
|
||||||
- created
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
shadow:
|
|
||||||
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
|
|
Loading…
Reference in New Issue
Block a user