From f1840d308e4080683be2e36514fa2415a7c027ac Mon Sep 17 00:00:00 2001 From: Silas Della Contrada Date: Wed, 24 Jul 2024 14:10:41 +0200 Subject: [PATCH] build: remove debug output, ci: enable build-cache Signed-off-by: Silas Della Contrada --- .github/actions/deploy-ubuntu/action.yml | 3 +-- build.gradle.kts | 16 ---------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/actions/deploy-ubuntu/action.yml b/.github/actions/deploy-ubuntu/action.yml index 1c5b5a2..85d213d 100644 --- a/.github/actions/deploy-ubuntu/action.yml +++ b/.github/actions/deploy-ubuntu/action.yml @@ -309,7 +309,6 @@ runs: with: cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }} gradle-home-cache-cleanup: true - cache-write-only: true build-scan-publish: true build-scan-terms-of-use-url: "https://gradle.com/terms-of-service" build-scan-terms-of-use-agree: "yes" @@ -317,4 +316,4 @@ runs: - name: Build with Gradle shell: bash - run: ./gradlew build publish -Pnative.extension=${{ matrix.ext }} --console=plain --info --configure-on-demand --parallel + run: ./gradlew build publish -Pnative.extension=${{ matrix.ext }} --console=plain --info --configure-on-demand --parallel --build-cache diff --git a/build.gradle.kts b/build.gradle.kts index 5c38ae6..c0aeb7d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,28 +60,12 @@ val bundleJar by tasks.registering(Jar::class) { } } -val debug by tasks.registering { - dependsOn(compileNative) - doFirst { - compileNative.get().outputs.files.forEach { - println("Output: $it") - } - compileDir.asFile.list()?.forEach { - println("File: $it") - } - } -} - val zipBuild by tasks.registering(Zip::class) { - dependsOn(debug) from(compileNative.get().outputs.files) { include("bin/**/*") include("include/**/*") include("lib/**/*") include("share/**/*") - eachFile { - println(path) - } } }