Merge pull request #6 from datakrama/bugfix/path

fix(bash): .git folder
This commit is contained in:
Ahmad Husen
2021-10-26 08:52:10 +07:00
committed by GitHub
+1 -1
View File
@@ -6,7 +6,7 @@ echo "::group::Copying file from $WORKPATH to /tmp/gh-action"
WORKPATH=$GITHUB_WORKSPACE/$INPUT_PATH
# Set path permision
sudo -u builder mkdir /tmp/gh-action
sudo -u builder cp -rfv "$WORKPATH"/.git /tmp/gh-action/.git
sudo -u builder cp -rfv "$GITHUB_WORKSPACE"/.git /tmp/gh-action/.git
sudo -u builder cp -fv "$WORKPATH"/PKGBUILD /tmp/gh-action/PKGBUILD
cd /tmp/gh-action
echo "::endgroup::"