1
mirror of https://github.com/CarmJos/TimeForFlight.git synced 2024-09-19 12:05:45 +00:00

Update maven.yml

This commit is contained in:
Carm Jos 2021-12-15 12:21:19 +08:00 committed by GitHub
parent 686163d68f
commit 5304d78ed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: "Set up JDK" - name: "Set up JDK"
@ -25,7 +23,7 @@ jobs:
server-username: MAVEN_USERNAME server-username: MAVEN_USERNAME
server-password: MAVEN_TOKEN server-password: MAVEN_TOKEN
- name: "Package" - name: "Package"
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml -Dmaven.javadoc.skip=true
env: env:
MAVEN_USERNAME: ${{ github.repository_owner }} MAVEN_USERNAME: ${{ github.repository_owner }}
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}} MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
@ -35,4 +33,4 @@ jobs:
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: artifact name: artifact
path: staging path: staging