feat(container): copy '.git' folder from WORKPATH
This commit is contained in:
+1
-1
@@ -5,7 +5,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 ./.git /tmp/gh-action/.git
|
sudo -u builder cp -rfv $WORKPATH/.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