diff --git a/run-linux.sh b/run-linux.sh index ddec9ae..12bae2b 100755 --- a/run-linux.sh +++ b/run-linux.sh @@ -56,4 +56,4 @@ echo "####################################################################" echo "###################### Executing user payload ######################" echo "VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV" -docker exec view_worker /bin/bash -c "${GITHUB_WORKSPACE}/action_payload.sh" +docker exec view_worker /bin/bash -c "cd ${GITHUB_WORKSPACE}; ./action_payload.sh" diff --git a/run-macOS.sh b/run-macOS.sh index 82e3c5b..62dd786 100755 --- a/run-macOS.sh +++ b/run-macOS.sh @@ -46,6 +46,7 @@ echo "#!/bin/zsh set -e source ${VIEW_PATH}/${SETUP_SCRIPT} +cd ${GITHUB_WORKSPACE} ${RUN} " > ${GITHUB_WORKSPACE}/action_payload.sh @@ -55,4 +56,5 @@ echo "####################################################################" echo "###################### Executing user payload ######################" echo "VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV" -${GITHUB_WORKSPACE}/action_payload.sh +cd ${GITHUB_WORKSPACE} +./action_payload.sh