Skip to content

Commit

Permalink
Merge pull request #104 from egose/dev
Browse files Browse the repository at this point in the history
chore: add step logs
  • Loading branch information
junminahn authored Feb 11, 2025
2 parents e52d143 + 2467820 commit 8d4d513
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions asdf-tools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ runs:
plugins_str=$'${{ inputs.plugins }}'
plugins=(${plugins_str//$'\n'/ })
echo "✅Adding additional plugins..."
for plugin in "${plugins[@]}"
do
readarray -d '=' -t keyurl <<< "$plugin"
Expand All @@ -51,9 +52,11 @@ runs:
asdf plugin add ${keyurl[0]} ${keyurl[1]} || true
done
echo "✅Adding main plugins..."
cat .tool-versions | cut -f 1 -d ' ' | xargs -n 1 asdf plugin add || true
asdf plugin update --all
echo "✅Installing tools..."
while read -r line; do
# Skip empty lines or lines starting with comments (#)
if [[ -n "$line" && ! "$line" =~ ^# ]]; then
Expand All @@ -66,4 +69,5 @@ runs:
done < .tool-versions
asdf reshim
asdf install || true
shell: bash

0 comments on commit 8d4d513

Please sign in to comment.