diff --git a/action.yml b/action.yml index 42b224f..c54ddd6 100644 --- a/action.yml +++ b/action.yml @@ -18,7 +18,7 @@ inputs: default: false outputs: - rpm: + rpms: description: "Path to the generated rpm file" runs: diff --git a/entrypoint.sh b/entrypoint.sh index bdc1383..7386912 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -55,7 +55,7 @@ for SPEC in ${SPECS[@]}; do RPMS=$(grep Wrote result/build.log | grep "/RPMS/" | cut -d" " -f 2 | xargs basename) echo "::debug::built rpm: ${RPMS}" RESULT="${RESULT},\"${RPMS}\"" - cd - + cd - &> /dev/null done RESULT="${RESULT/[,/[}]"