CI: Also package debs for subpackages when workflow_dispatch

This commit is contained in:
Yaksh Bariya 2021-11-04 19:37:46 +05:30
parent bd29c23c75
commit f3eae9f980
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 5 additions and 2 deletions

View File

@ -102,8 +102,11 @@ jobs:
fi
done<<<${CHANGED_FILES}
else
for i in ${{ github.event.inputs.packages }}; do
echo "$i" >> ./built_packages.txt
for pkg in ${{ github.event.inputs.packages }}; do
echo "$pkg" >> ./built_packages.txt
for subpkg in $(find "packages/${pkg}/" -maxdepth 1 -type f -name \*.subpackage.sh | sort); do
echo "$(basename "${file%%.subpackage.sh}")" >> ./built_subpackages.txt
done
done
fi