Skip to content

Commit d10cd1a

Browse files
committed
config(ci): skip test in publish -> 'deploy' job (they are done in previous 'test' job).
1 parent 565b6bf commit d10cd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ jobs:
4545
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
4646
settings-path: ${{ github.workspace }} # location for the settings.xml file
4747
- name: Publish to GitHub Packages Apache Maven
48-
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
48+
run: mvn deploy -Dmaven.test.skip.exec -s $GITHUB_WORKSPACE/settings.xml # skip tests in this step
4949
env:
5050
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)