1
mirror of https://github.com/CarmJos/EasySQL.git synced 2026-06-04 15:28:20 +08:00

Update maven.yml

This commit is contained in:
2021-12-12 00:12:51 +08:00
committed by GitHub
parent c945aeb7d6
commit 73372daed0
+2 -8
View File
@@ -21,18 +21,12 @@ jobs:
java-version: '11' java-version: '11'
distribution: 'adopt' distribution: 'adopt'
cache: maven cache: maven
server-id: github
server-username: MAVEN_USERNAME
server-password: MAVEN_TOKEN
- name: "Package" - name: "Package"
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
env:
MAVEN_USERNAME: ${{ github.repository_owner }}
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: "Target Stage" - name: "Target Stage"
run: mkdir staging && cp target/*.jar staging run: mkdir staging && cp */target/*.jar staging
- name: "Upload artifact" - name: "Upload artifact"
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: Artifact name: Artifact
path: staging path: staging