feat: Copy output packages back to workspace
This commit is contained in:
@@ -95,6 +95,7 @@ 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
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user