From 407f3cae3e4fbf57707fd198fad0a836ca04b07f Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Fri, 6 Mar 2020 22:27:59 +0800
Subject: [PATCH 1/7] Create shadow.yml

---
 .github/workflows/shadow.yml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 .github/workflows/shadow.yml

diff --git a/.github/workflows/shadow.yml b/.github/workflows/shadow.yml
new file mode 100644
index 000000000..6c6593f09
--- /dev/null
+++ b/.github/workflows/shadow.yml
@@ -0,0 +1,34 @@
+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

From e60f02a0894d542d05a9a523108084fdb7a2b578 Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Fri, 6 Mar 2020 22:31:28 +0800
Subject: [PATCH 2/7] Create shadow-publish.yml

---
 .github/workflows/shadow-publish.yml | 35 ++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 .github/workflows/shadow-publish.yml

diff --git a/.github/workflows/shadow-publish.yml b/.github/workflows/shadow-publish.yml
new file mode 100644
index 000000000..31314d2a8
--- /dev/null
+++ b/.github/workflows/shadow-publish.yml
@@ -0,0 +1,35 @@
+
+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

From 831593568c4016a8bd51af86bea922df7fa2dcfb Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Fri, 6 Mar 2020 22:32:16 +0800
Subject: [PATCH 3/7] Create main2.yml

---
 .github/workflows/main2.yml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 .github/workflows/main2.yml

diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml
new file mode 100644
index 000000000..ab6a9cb49
--- /dev/null
+++ b/.github/workflows/main2.yml
@@ -0,0 +1,33 @@
+# This is a basic workflow to help you get started with Actions
+
+name: CI
+
+# Controls when the action will run. Triggers the workflow on push or pull request 
+# events but only for the master branch
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+# 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:
+    # The type of runner that the job will run on
+    runs-on: ubuntu-latest
+
+    # Steps represent a sequence of tasks that will be executed as part of the job
+    steps:
+    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+    - uses: actions/checkout@v2
+
+    # Runs a single command using the runners shell
+    - name: Run a one-line script
+      run: echo Hello, world!
+
+    # Runs a set of commands using the runners shell
+    - name: Run a multi-line script
+      run: |
+        echo Add other actions to build,
+        echo test, and deploy your project.

From ccf205dfaa6975d86c581687ee322ef3b3ff71fb Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Fri, 6 Mar 2020 22:33:48 +0800
Subject: [PATCH 4/7] Update main2.yml

---
 .github/workflows/main2.yml | 45 +++++++++++++++++++++----------------
 1 file changed, 26 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml
index ab6a9cb49..be05e344f 100644
--- a/.github/workflows/main2.yml
+++ b/.github/workflows/main2.yml
@@ -5,29 +5,36 @@ name: CI
 # Controls when the action will run. Triggers the workflow on push or pull request 
 # events but only for the master branch
 on:
-  push:
-    branches: [ master ]
-  pull_request:
-    branches: [ master ]
+  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:
-    # The type of runner that the job will run on
     runs-on: ubuntu-latest
-
-    # Steps represent a sequence of tasks that will be executed as part of the job
     steps:
-    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
-    - uses: actions/checkout@v2
-
-    # Runs a single command using the runners shell
-    - name: Run a one-line script
-      run: echo Hello, world!
-
-    # Runs a set of commands using the runners shell
-    - name: Run a multi-line script
-      run: |
-        echo Add other actions to build,
-        echo test, and deploy your project.
+      - 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"

From 9518e2e5b403d4f73b11446fa77ff6490c6d72cc Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Fri, 6 Mar 2020 22:34:42 +0800
Subject: [PATCH 5/7] Update main2.yml

---
 .github/workflows/main2.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml
index be05e344f..95aba24e3 100644
--- a/.github/workflows/main2.yml
+++ b/.github/workflows/main2.yml
@@ -1,6 +1,6 @@
 # This is a basic workflow to help you get started with Actions
 
-name: CI
+name: Shadow
 
 # Controls when the action will run. Triggers the workflow on push or pull request 
 # events but only for the master branch

From 61debf93b0ea78344e382178b6093a531f4e4c5d Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Fri, 6 Mar 2020 22:35:10 +0800
Subject: [PATCH 6/7] Delete shadow-publish.yml

---
 .github/workflows/shadow-publish.yml | 35 ----------------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 .github/workflows/shadow-publish.yml

diff --git a/.github/workflows/shadow-publish.yml b/.github/workflows/shadow-publish.yml
deleted file mode 100644
index 31314d2a8..000000000
--- a/.github/workflows/shadow-publish.yml
+++ /dev/null
@@ -1,35 +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

From d97e7b78562d6885701c1551719ff8290c203cb0 Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Fri, 6 Mar 2020 22:35:19 +0800
Subject: [PATCH 7/7] Delete shadow.yml

---
 .github/workflows/shadow.yml | 34 ----------------------------------
 1 file changed, 34 deletions(-)
 delete mode 100644 .github/workflows/shadow.yml

diff --git a/.github/workflows/shadow.yml b/.github/workflows/shadow.yml
deleted file mode 100644
index 6c6593f09..000000000
--- a/.github/workflows/shadow.yml
+++ /dev/null
@@ -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