diff --git a/action.yml b/action.yml index cd808be..dace91d 100644 --- a/action.yml +++ b/action.yml @@ -142,12 +142,12 @@ runs: } - for dir in SRPMS RPMS/noarch RPMS/*; do + for dir in SRPMS RPMS/*; do if [ -d "${RPMBUILDROOT}/${dir}" ]; then for file in "${RPMBUILDROOT}/${dir}"/*.rpm; do if [ -f "$file" ]; then if [ "$dir" = "SRPMS" ]; then - arch="noarch" + arch="srpms" type="srpm" elif [ "$dir" = "noarch" ]; then arch="noarch"