Skip to content

Commit f9764c2

Browse files
committed
fix CI mvn tests
1 parent 08bbc7f commit f9764c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/maven-v1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
echo "POM VERSION" ${MY_POM_VERSION}
4242
if [[ $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
4343
then
44-
mvn --no-transfer-progress -B clean deploy
44+
mvn --no-transfer-progress -B clean deploy -Dsurefire.forkCount=4 -DargLine="-XX:-OmitStackTraceInFastThrow" -Dsurefire.useFile=false
4545
else
4646
echo "not deploying release: " ${MY_POM_VERSION}
4747
fi

.github/workflows/release-v1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
nexus_username: ${{ secrets.OSSRH_USERNAME }}
6868
nexus_password: ${{ secrets.OSSRH_TOKEN }}
6969
maven_profiles: "release"
70+
maven_args: "-DskipTests"
7071
- name: Run post release script
7172
id: postRelease
7273
if: env.RELEASE_OK == 'yes'

0 commit comments

Comments
 (0)