From 73372daed00eaf17a9bed85534bdcd985df67e39 Mon Sep 17 00:00:00 2001 From: Carm Date: Sun, 12 Dec 2021 00:12:51 +0800 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b7ae340..3dd1b4c 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,18 +21,12 @@ jobs: java-version: '11' distribution: 'adopt' cache: maven - server-id: github - server-username: MAVEN_USERNAME - server-password: MAVEN_TOKEN - name: "Package" run: mvn -B package --file pom.xml - env: - MAVEN_USERNAME: ${{ github.repository_owner }} - MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: "Target Stage" - run: mkdir staging && cp target/*.jar staging + run: mkdir staging && cp */target/*.jar staging - name: "Upload artifact" uses: actions/upload-artifact@v2 with: name: Artifact - path: staging \ No newline at end of file + path: staging