From 00d9f43356ca66a7ce53b93dfd74b799ec6c47ed Mon Sep 17 00:00:00 2001 From: Massimiliano Adamo <massimiliano.adamo@geant.org> Date: Mon, 31 May 2021 18:36:59 +0200 Subject: [PATCH] copy artifact inside repo --- .gitlab-ci-psnc.yml | 4 ++-- build.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci-psnc.yml b/.gitlab-ci-psnc.yml index 5e309a7..efc1f65 100644 --- a/.gitlab-ci-psnc.yml +++ b/.gitlab-ci-psnc.yml @@ -22,7 +22,7 @@ upload_linux_artifact: script: ./build.sh --os=linux --arch=amd64 --upx artifacts: paths: - - /home/maxadamo/go/bin/acme-downloader + - acme-downloader tags: - visnu_shell # upload_windows_artifact: @@ -30,7 +30,7 @@ upload_linux_artifact: # script: ./build.sh --os=windows --arch=amd64 --upx # artifacts: # paths: -# - /home/maxadamo/go/bin/windows_amd64/acme-downloader.exe +# - acme-downloader.exe # tags: # - visnu_shell # upload_shell_script: diff --git a/build.sh b/build.sh index 2c155e3..e54381e 100755 --- a/build.sh +++ b/build.sh @@ -97,6 +97,7 @@ run_upx() { if [ -n $UPX ]; then run_upx + cp $EXECUTABLE_PATH . elif [ -n $NOUPX ]; then true else -- GitLab