diff --git a/action.yml b/action.yml index 2b546e7..553c996 100644 --- a/action.yml +++ b/action.yml @@ -11,5 +11,5 @@ inputs: description: 'The full helm command to run (including helm)' required: false runs: - using: 'node12' + using: 'node16' main: 'main.js' diff --git a/entrypoint.sh b/entrypoint.sh index 5a436a5..11f4d46 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,11 +20,10 @@ echo -e "\033[36mExecuting helm\033[0m" helm_output=$(./run.sh) echo "$helm_output" -helm_output="${helm_output//'%'/'%25'}" -helm_output="${helm_output//$'\n'/'%0A'}" -helm_output="${helm_output//$'\r'/'%0D'}" - -echo "::set-output name=helm_output::$helm_output" +delimiter="$(openssl rand -hex 8)" +echo "helm_output<<${delimiter}" >> "${GITHUB_OUTPUT}" +echo "$helm_output" >> "${GITHUB_OUTPUT}" +echo "${delimiter}" >> "${GITHUB_OUTPUT}" echo -e "\033[36mCleaning up: \033[0m" rm ./run.sh -Rf