Skip tests when deploy
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -97,7 +97,7 @@ jobs:
|
|||||||
REVISION: ${{ github.event.inputs.revision }}
|
REVISION: ${{ github.event.inputs.revision }}
|
||||||
|
|
||||||
- name: "Deploy ${{ github.event.inputs.revision }}"
|
- name: "Deploy ${{ github.event.inputs.revision }}"
|
||||||
run: mvn deploy -Ppublish -Drevision=${REVISION} --batch-mode
|
run: mvn deploy -DskipTest -Ppublish -Drevision=${REVISION} --batch-mode
|
||||||
env:
|
env:
|
||||||
REVISION: ${{ github.event.inputs.revision }}
|
REVISION: ${{ github.event.inputs.revision }}
|
||||||
MAVEN_USERNAME: ${{ secrets.CENTRAL_SONATYPE_TOKEN_USERNAME }}
|
MAVEN_USERNAME: ${{ secrets.CENTRAL_SONATYPE_TOKEN_USERNAME }}
|
||||||
@@ -111,4 +111,4 @@ jobs:
|
|||||||
git tag -a ${REVISION} -m "Release version ${REVISION}" && git push origin ${REVISION}
|
git tag -a ${REVISION} -m "Release version ${REVISION}" && git push origin ${REVISION}
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
REVISION: ${{ github.event.inputs.revision }}
|
REVISION: ${{ github.event.inputs.revision }}
|
||||||
|
|||||||
Reference in New Issue
Block a user