fix: path for action run

This commit is contained in:
Ahmad Husen
2021-05-26 10:26:23 +07:00
parent b259baf950
commit 5fa9ff1a99
2 changed files with 7 additions and 9 deletions
+1 -5
View File
@@ -2,11 +2,7 @@
# Set path
echo '::group::Configuring path with permission'
WORKPATH=$GITHUB_WORKSPACE
if [[ -n "$INPUT_PATH" ]]; then
WORKPATH=$INPUT_PATH
fi
WORKPATH=$GITHUB_WORKSPACE/$INPUT_PATH
# Set path permision
sudo chown -R builder $WORKPATH
cd $WORKPATH