fix(bash): .git folder
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ echo "::group::Copying file from $WORKPATH to /tmp/gh-action"
|
|||||||
WORKPATH=$GITHUB_WORKSPACE/$INPUT_PATH
|
WORKPATH=$GITHUB_WORKSPACE/$INPUT_PATH
|
||||||
# Set path permision
|
# Set path permision
|
||||||
sudo -u builder mkdir /tmp/gh-action
|
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
|
sudo -u builder cp -fv "$WORKPATH"/PKGBUILD /tmp/gh-action/PKGBUILD
|
||||||
cd /tmp/gh-action
|
cd /tmp/gh-action
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|||||||
Reference in New Issue
Block a user