Skip to content

Commit 9a133c4

Browse files
authored
Merge pull request #682 from square/rick/no-daemon_in_publish-snapshot
use `--no-daemon` for both Gradle commands in `publish-snapshot` action
2 parents 9d4ccc6 + dd50b0c commit 9a133c4

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)