feat: Copy output packages back to workspace

This commit is contained in:
2026-04-06 03:16:04 +02:00
parent 27228fcea0
commit 5c520cef72
+4
View File
@@ -95,6 +95,10 @@ WORKPATH=$GITHUB_WORKSPACE/$INPUT_PATH
WORKPATH=${WORKPATH%/} # Remove trailing slash if $INPUT_PATH is empty WORKPATH=${WORKPATH%/} # Remove trailing slash if $INPUT_PATH is empty
echo "::group::Copying files from $HOME/gh-action to $WORKPATH" echo "::group::Copying files from $HOME/gh-action to $WORKPATH"
sudo cp -fv PKGBUILD "$WORKPATH"/PKGBUILD sudo cp -fv PKGBUILD "$WORKPATH"/PKGBUILD
ls -alh
echo "$WORKPATH"
ls -alh "$WORKPATH"
sudo cp -fv *.pkg.tar.zst "$WORKPATH"
if [[ -e .SRCINFO ]]; then if [[ -e .SRCINFO ]]; then
sudo cp -fv .SRCINFO "$WORKPATH"/.SRCINFO sudo cp -fv .SRCINFO "$WORKPATH"/.SRCINFO
fi fi