From c5a19cf40bb7eeeded350a92dda933d7c0a39a45 Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Sat, 7 Dec 2024 22:30:06 +0000 Subject: [PATCH 1/2] No need to echo anything here --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/[,/[}]" From 03a51ae47da02a6d9cd064a51021b32af65a3306 Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Sat, 7 Dec 2024 22:30:19 +0000 Subject: [PATCH 2/2] fix output name --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: