From 02bf15925068b3f6babe8776d12004ac6abb1e53 Mon Sep 17 00:00:00 2001 From: Carl Beekhuizen Date: Mon, 30 Aug 2021 10:34:59 +0200 Subject: [PATCH] copy folders with "-r" --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c13e126..15d17c2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -131,7 +131,7 @@ jobs: export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-linux-amd64; export TEST_FOLDER_NAME=TMP_TEST_FOLDER mkdir ${TEST_FOLDER_NAME} - cp ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME} + cp -r ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME} cp test_binary_script.py ${TEST_FOLDER_NAME} cd ${TEST_FOLDER_NAME} python test_binary_script.py ./${BUILD_FILE_NAME}; @@ -176,7 +176,7 @@ jobs: copy ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME} copy test_binary_script.py ${TEST_FOLDER_NAME} cd ${TEST_FOLDER_NAME} - python test_binary_script.py .\${BUILD_FILE_NAME} + python test_binary_script.py ${BUILD_FILE_NAME} - run: name: Compress the file command: | @@ -219,7 +219,7 @@ jobs: export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-darwin-amd64; export TEST_FOLDER_NAME=TMP_TEST_FOLDER mkdir ${TEST_FOLDER_NAME} - cp ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME} + cp -r ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME} cp test_binary_script.py ${TEST_FOLDER_NAME} cd ${TEST_FOLDER_NAME} python3 test_binary_script.py ./${BUILD_FILE_NAME};