diff --git a/action.yml b/action.yml index c54ddd6..42b224f 100644 --- a/action.yml +++ b/action.yml @@ -18,7 +18,7 @@ inputs: default: false outputs: - rpms: + rpm: description: "Path to the generated rpm file" runs: diff --git a/entrypoint.sh b/entrypoint.sh index 7386912..bdc1383 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 - &> /dev/null + cd - done RESULT="${RESULT/[,/[}]"