Skip to content

Commit

Permalink
Merge pull request #51 from Jorehn/FIX/Update-deprecated-method
Browse files Browse the repository at this point in the history
Updated node to 16 and removed deprecated method
  • Loading branch information
WyriHaximus authored Dec 9, 2022
2 parents dc8ab7f + 503eb17 commit 7f850fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ inputs:
description: 'The full helm command to run (including helm)'
required: false
runs:
using: 'node12'
using: 'node16'
main: 'main.js'
9 changes: 4 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f850fd

Please sign in to comment.