Skip to content

Commit

Permalink
chore: add asdf path into bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
junminahn committed Feb 12, 2025
1 parent b7595ae commit d9d649e
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,7 +24,8 @@ runs:
mv asdf /usr/local/bin/
rm -f asdf.tar.gz
which asdf
export PATH="${ASDF_DATA_DIR:-/home/runner/.asdf}/shims:$PATH"
echo 'export PATH="${ASDF_DATA_DIR:-/home/runner/.asdf}/shims:$PATH"' >> /home/runner/.bashrc
source /home/runner/.bashrc
echo "$PATH"
echo "✅asdf installed successfully"
shell: bash
Expand Down Expand Up @@ -68,6 +69,7 @@ runs:
echo "➡️$tool $version..."
asdf install "$tool" "$version" || true
which "$tool"
fi
done < .tool-versions
Expand Down

0 comments on commit d9d649e

Please sign in to comment.