Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd7711ac

Browse files
committed
GitHub Actions should not use forks
1 parent3db0def commitd7711ac

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎.github/workflows/maven.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
gpg-passphrase:MAVEN_GPG_PASSPHRASE
8383

8484
-name:Publish Maven package
85-
run:mvn -Possrh-deploy deploy
85+
run:mvn -B -Possrh-deploy deploy -DskipTests
8686
env:
8787
MAVEN_GPG_PASSPHRASE:${{ secrets.gpg_passphrase }}
8888
MAVEN_USERNAME:${{ secrets.nexus_username }}

‎pom.xml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@
229229
<artifactId>maven-surefire-plugin</artifactId>
230230
<configuration>
231231
<argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED</argLine>
232+
<forkCount>1</forkCount>
233+
<reuseForks>false</reuseForks>
232234
</configuration>
233235
</plugin>
234236
</plugins>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp