From 3b3e678fc70bf4415bf541f4e9c1faa9f50d0824 Mon Sep 17 00:00:00 2001 From: CarmJos Date: Fri, 18 Feb 2022 19:52:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=9E=84=E5=BB=BA=E5=90=8C?= =?UTF-8?q?=E6=97=B6=E4=B8=8A=E4=BC=A0=E4=BA=A7=E7=89=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven.yml | 13 +++++++++---- pom.xml | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b7ae340..f7d026f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,7 +1,7 @@ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven -name: Build +name: Build & Tests on: # 支持手动触发构建 @@ -29,10 +29,15 @@ jobs: env: MAVEN_USERNAME: ${{ github.repository_owner }} MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}} - - name: "Target Stage" - run: mkdir staging && cp target/*.jar staging + + - name: "Target Staging" + run: | + mkdir artifacts + cp -vrf target/ artifacts/target/ + cp -vrf asset/*.jar artifacts + - name: "Upload artifact" uses: actions/upload-artifact@v2 with: name: Artifact - path: staging \ No newline at end of file + path: artifacts \ No newline at end of file diff --git a/pom.xml b/pom.xml index 27dd769..092eebd 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ cc.carm.plugin moeteleport - 1.2.0 + 2.0.0 MoeTeleport 喵喵传送,简单的传送、设置家的插件。