Skip to content

Commit

Permalink
Step into GITHUB_WORKSPACE before executing script
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Petric committed Feb 8, 2021
1 parent 24774bd commit 558a103
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion run-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 3 additions & 1 deletion run-macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ echo "#!/bin/zsh
set -e
source ${VIEW_PATH}/${SETUP_SCRIPT}
cd ${GITHUB_WORKSPACE}
${RUN}
" > ${GITHUB_WORKSPACE}/action_payload.sh
Expand All @@ -55,4 +56,5 @@ echo "####################################################################"
echo "###################### Executing user payload ######################"
echo "VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV"

${GITHUB_WORKSPACE}/action_payload.sh
cd ${GITHUB_WORKSPACE}
./action_payload.sh

0 comments on commit 558a103

Please sign in to comment.