Skip to content

Commit

Permalink
Merge pull request #105 from egose/dev
Browse files Browse the repository at this point in the history
chore: set asdf path properly
  • Loading branch information
junminahn authored Feb 11, 2025
2 parents 8d4d513 + a3b6067 commit 2f6f6fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion asdf-tools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ runs:
mv asdf /usr/local/bin/
rm -f asdf.tar.gz
which asdf
PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
echo "asdf installed successfully"
shell: bash

Expand All @@ -49,6 +50,7 @@ runs:
continue
fi
echo "➡️${keyurl[0]} ${keyurl[1]}..."
asdf plugin add ${keyurl[0]} ${keyurl[1]} || true
done
Expand All @@ -63,7 +65,7 @@ runs:
tool=$(echo "$line" | awk '{print $1}')
version=$(echo "$line" | awk '{print $2}')
echo "Installing $tool $version..."
echo "➡️$tool $version..."
asdf install "$tool" "$version" || true
fi
done < .tool-versions
Expand Down

0 comments on commit 2f6f6fc

Please sign in to comment.