From e95bfdf60e81574e58925e83e2b3421779d641b6 Mon Sep 17 00:00:00 2001 From: cssxsh <cssxsh@gmail.com> Date: Thu, 6 Jul 2023 14:33:43 +0800 Subject: [PATCH] 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