Skip to content

Commit dd50b0c

Browse files
committed
use --no-daemon for both Gradle commands in publish-snapshot action
1 parent 2f22ec7 commit dd50b0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish-snapshot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
java-version: 11.0.7
2323

2424
- name : Publish Snapshots
25-
run: ./gradlew clean build && ./gradlew publish --no-parallel --no-daemon
25+
run: |
26+
./gradlew clean build --no-daemon
27+
./gradlew publish --no-parallel --no-daemon
2628
env :
2729
ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
2830
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}

0 commit comments

Comments
 (0)