From 1d753801dd32efef89925d1dcbf12aaf7e58fc9d Mon Sep 17 00:00:00 2001 From: TONY_All Date: Fri, 16 Jun 2023 11:44:18 +0800 Subject: [PATCH] update automation script & test --- .space.kts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.space.kts b/.space.kts index 86306ae..96bda2d 100644 --- a/.space.kts +++ b/.space.kts @@ -1,10 +1,16 @@ job("Build and run tests") { // run 'gradlew build' - gradlew("azul/zulu-openjdk:17", "build") { + gradlew("azul/zulu-openjdk:17", "build", "--no-daemon") { + mountDir = "/root" + cache { + storeKey = "dot-gradle" + localPath = "/root/.gradle" + } + fileArtifacts { - localPath = "build" - archive = true - remotePath = "{{ run:number }}/build.zip" + localPath = "build/libs" + archive = false + remotePath = "{{ run:number }}/build" onStatus = OnStatus.SUCCESS } }