Skip to content

Commit 6af2e1b

Browse files
authored
Skip tests when deploy
1 parent fb65d4c commit 6af2e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
REVISION: ${{ github.event.inputs.revision }}
9898

9999
- name: "Deploy ${{ github.event.inputs.revision }}"
100-
run: mvn deploy -Ppublish -Drevision=${REVISION} --batch-mode
100+
run: mvn deploy -DskipTest -Ppublish -Drevision=${REVISION} --batch-mode
101101
env:
102102
REVISION: ${{ github.event.inputs.revision }}
103103
MAVEN_USERNAME: ${{ secrets.CENTRAL_SONATYPE_TOKEN_USERNAME }}
@@ -111,4 +111,4 @@ jobs:
111111
git tag -a ${REVISION} -m "Release version ${REVISION}" && git push origin ${REVISION}
112112
fi
113113
env:
114-
REVISION: ${{ github.event.inputs.revision }}
114+
REVISION: ${{ github.event.inputs.revision }}

0 commit comments

Comments
 (0)