added fiel cleanup

This commit is contained in:
Tobias Lehmann 2024-06-04 08:03:50 +02:00
parent 1bd0a48404
commit bdc9032167
3 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: Java build workflow for captica.expert modules
name: Java build workflow
on:
workflow_call:
jobs:

View File

@ -1,4 +1,4 @@
name: Publish docker workflow for captica.expert modules
name: Publish docker workflow
on:
workflow_call:
jobs:

View File

@ -61,4 +61,13 @@ echo "APPLICATION_JAVA_VERSION=\$APPLICATION_JAVA_VERSION" >> \$GITHUB_ENV
// Link up version file task to bootJar
tasks.named('bootJar').configure {
dependsOn writeVersionFile
}
task removeEnvFile(type: Delete) {
delete new File(buildDir, 'env-setup.sh')
}
// Link up version file task to bootJar
tasks.named('writeVersionFile').configure {
dependsOn removeEnvFile
}