diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index bcf14b7e3..6aa328940 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -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