chore: fix cache for copyEnv gradle task
Tests / build (push) Successful in 9m51s
Tests / test (push) Failing after 11m0s
Tests / lint (push) Successful in 18m7s

This commit is contained in:
2026-07-31 00:58:27 +02:00
parent e87a36caa5
commit 4e4b307275
+2 -2
View File
@@ -88,13 +88,13 @@ tasks.register<Copy>("copyEnv") {
exclude() exclude()
} }
} }
doLast {
val files = val files =
listOf( listOf(
File("docker/pgadmin.secret"), File("docker/pgadmin.secret"),
File("docker/postgresql.secret"), File("docker/postgresql.secret"),
) )
outputs.files(*files.toTypedArray())
doLast {
files.forEach { files.forEach {
if (!it.exists()) { if (!it.exists()) {
it.writeText("changeit") it.writeText("changeit")