Skip to content

Commit

Permalink
build: remove debug output, ci: enable build-cache
Browse files Browse the repository at this point in the history
Signed-off-by: Silas Della Contrada <me@silenium-dev.net>
  • Loading branch information
silenium-dev committed Jul 24, 2024
1 parent 2e28adb commit f1840d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
3 changes: 1 addition & 2 deletions .github/actions/deploy-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,11 @@ 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"
add-job-summary-as-pr-comment: on-failure

- 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
16 changes: 0 additions & 16 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}

Expand Down

0 comments on commit f1840d3

Please sign in to comment.