From 0d17e7f1b6768207ef8be91939f3bd97dfa97003 Mon Sep 17 00:00:00 2001 From: carm Date: Thu, 7 Oct 2021 21:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0packages=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e6c8077..ffde460 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -23,14 +23,13 @@ jobs: java-version: '11' distribution: 'adopt' cache: maven - - name: run Maven - run: mvn -B deploy --file pom.xml - with: server-id: github # Nexus用户名环境变量 server-username: ${{ secrets.MAVEN_USERNAME }} # Nexus密码环境变量 server-password: ${{ secrets.GITHUB_TOKEN }} + - name: run Maven + run: mvn -B deploy --file pom.xml - run: mkdir staging && cp target/*.jar staging - uses: actions/upload-artifact@v2 with: