Skip to content

Commit

Permalink
ci(docker-build): fix nodejs debug output in gh-setup-env
Browse files Browse the repository at this point in the history
  • Loading branch information
vpayno committed Jan 16, 2024
1 parent 50491b3 commit 587294a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/citools/common/gh-setup-env
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ main() {

source /etc/profile.d/nodejs.sh || track_errors

printf "Adding Ruby paths to GITHUB_PATH...\n"
printf "Adding NodeJS paths to GITHUB_PATH...\n"
printf "%s\n" "/usr/local/nodenv/bin" "/usr/local/nodenv/shims" | tee -a "${GITHUB_PATH}"

echo Adding source /etc/profile.d/nodejs.sh to ~/.bashrc
echo '. /etc/profile.d/nodejs.sh' | tee -a "${HOME}/.bashrc" || track_errors
printf "\n"

printf "Setup NodeJs symlinks for github user:\n"
printf "Setup NodeJS symlinks for github user:\n"
cd "${HOME}" || track_errors
if [[ ! -d .nodenv ]]; then
ln -sv "/usr/local/nodenv" .nodenv || track_errors
Expand Down

0 comments on commit 587294a

Please sign in to comment.