Skip to content

Commit 6afbc70

Browse files
committed
include cleanup again and also run sequentially
1 parent dc17657 commit 6afbc70

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Gradle
2626
uses: gradle/actions/setup-gradle@v3
2727
- name: Build
28-
run: ./gradlew --no-configuration-cache publish "-PsonatypeUsername=$SONATYPE_USERNAME" "-PsonatypePassword=$SONATYPE_PASSWORD"
28+
run: ./gradlew --no-configuration-cache --no-parallel publish "-PsonatypeUsername=$SONATYPE_USERNAME" "-PsonatypePassword=$SONATYPE_PASSWORD"
2929
env:
3030
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
3131
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

conventions/src/main/kotlin/tel.schich.javacan.convention.native.gradle.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ for (target in targets) {
140140
image = dockcrossImage
141141
containerName = "dockcross-${project.name}-$classifier"
142142

143-
// if (ci) {
144-
// doLast {
145-
// exec {
146-
// commandLine("docker", "image", "rm", "$repo:$tag")
147-
// }
148-
// }
149-
// }
143+
if (ci) {
144+
doLast {
145+
exec {
146+
commandLine("docker", "image", "rm", "$repo:$tag")
147+
}
148+
}
149+
}
150150
}
151151

152152

0 commit comments

Comments
 (0)