From a7d9039901432dfcd1ec8529aa43311704c953d8 Mon Sep 17 00:00:00 2001 From: cssxsh Date: Sat, 12 Aug 2023 14:08:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=20CI=20=E6=9E=84=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=20Maven=20=E6=9C=AC=E5=9C=B0=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E4=BD=9C=E4=B8=BA=E6=9E=84=E5=BB=BA=E4=BA=A7=E7=89=A9?= =?UTF-8?q?=20(#2725)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: ci --- .github/workflows/build.yml | 79 +++---------------------------------- 1 file changed, 5 insertions(+), 74 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd3f96d87..cf4544c19 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -97,80 +97,11 @@ jobs: # Upload - - name: Upload mirai-core-utils - uses: actions/upload-artifact@v3 - with: - name: mirai-core-utils - path: mirai-core-utils/build/libs + - name: Publish MavenLocal + run: ./gradlew publishToMavenLocal ${{ env.gradleArgs }} - - name: Upload mirai-core-api + - name: Upload MavenLocal uses: actions/upload-artifact@v3 with: - name: mirai-core-api - path: mirai-core-api/build/libs - - - name: Upload mirai-core - uses: actions/upload-artifact@v3 - with: - name: mirai-core - path: mirai-core/build/libs - - - name: Upload mirai-core-all - uses: actions/upload-artifact@v3 - with: - name: mirai-core-all - path: mirai-core-all/build/libs - - - name: Upload mirai-console - uses: actions/upload-artifact@v3 - with: - name: mirai-console - path: mirai-console/backend/mirai-console/build/libs - - - name: Upload mirai-console-terminal - uses: actions/upload-artifact@v3 - with: - name: mirai-console-terminal - path: mirai-console/frontend/mirai-console-terminal/build/libs - - - name: Upload mirai-console-compiler-annotations - uses: actions/upload-artifact@v3 - with: - name: mirai-console-compiler-annotations - path: mirai-console/tools/mirai-console-compiler-annotations/build/libs - - - name: Upload mirai-console-compiler-common - uses: actions/upload-artifact@v3 - with: - name: mirai-console-compiler-common - path: mirai-console/tools/mirai-console-compiler-common/build/libs - - - name: Upload mirai-console-intellij - uses: actions/upload-artifact@v3 - with: - name: mirai-console-intellij - path: mirai-console/tools/intelli-plugin/build/distribution - - - name: Upload mirai-logging-log4j2 - uses: actions/upload-artifact@v3 - with: - name: mirai-logging-log4j2 - path: logging/mirai-logging-log4j2/build/libs - - - name: Upload mirai-logging-slf4j - uses: actions/upload-artifact@v3 - with: - name: mirai-logging-slf4j - path: logging/mirai-logging-slf4j/build/libs - - - name: Upload mirai-logging-slf4j-logback - uses: actions/upload-artifact@v3 - with: - name: mirai-logging-slf4j-logback - path: logging/mirai-logging-slf4j-logback/build/libs - - - name: Upload mirai-logging-slf4j-simple - uses: actions/upload-artifact@v3 - with: - name: mirai-logging-slf4j-simple - path: logging/mirai-logging-slf4j-simple/build/libs + name: maven-cache + path: ~/.m2 \ No newline at end of file