Skip to content

Commit f1840d3

Browse files
committed
build: remove debug output, ci: enable build-cache
Signed-off-by: Silas Della Contrada <[email protected]>
1 parent 2e28adb commit f1840d3

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

.github/actions/deploy-ubuntu/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,12 +309,11 @@ runs:
309309
with:
310310
cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }}
311311
gradle-home-cache-cleanup: true
312-
cache-write-only: true
313312
build-scan-publish: true
314313
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
315314
build-scan-terms-of-use-agree: "yes"
316315
add-job-summary-as-pr-comment: on-failure
317316

318317
- name: Build with Gradle
319318
shell: bash
320-
run: ./gradlew build publish -Pnative.extension=${{ matrix.ext }} --console=plain --info --configure-on-demand --parallel
319+
run: ./gradlew build publish -Pnative.extension=${{ matrix.ext }} --console=plain --info --configure-on-demand --parallel --build-cache

build.gradle.kts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -60,28 +60,12 @@ val bundleJar by tasks.registering(Jar::class) {
6060
}
6161
}
6262

63-
val debug by tasks.registering {
64-
dependsOn(compileNative)
65-
doFirst {
66-
compileNative.get().outputs.files.forEach {
67-
println("Output: $it")
68-
}
69-
compileDir.asFile.list()?.forEach {
70-
println("File: $it")
71-
}
72-
}
73-
}
74-
7563
val zipBuild by tasks.registering(Zip::class) {
76-
dependsOn(debug)
7764
from(compileNative.get().outputs.files) {
7865
include("bin/**/*")
7966
include("include/**/*")
8067
include("lib/**/*")
8168
include("share/**/*")
82-
eachFile {
83-
println(path)
84-
}
8569
}
8670
}
8771

0 commit comments

Comments
 (0)