feat(container): copy '.git' folder from WORKPATH
CI / Pretest (with Dockerfile) (push) Successful in 1m48s
CI / Test (with pre-built Container Image) (push) Has been cancelled
CI / Publish container image (push) Has been cancelled

This commit is contained in:
Ahmad Husen
2021-05-30 14:24:17 +07:00
parent 8987dba528
commit 3aa6342a73
+1 -1
View File
@@ -5,7 +5,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 ./.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
cd /tmp/gh-action
echo '::endgroup::'