From 6dfbf74153b4e8b45f68ec5ae03b9cb1715d9d0d Mon Sep 17 00:00:00 2001 From: Skydust Date: Wed, 25 Dec 2024 16:27:43 +0100 Subject: [PATCH] Reworked colors --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 5289d48..fcf772c 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ runs: run: | cd "${{ inputs.path }}" if ! corepack install; then - log_info "$(blue)Finding out the package manager used" + log_info "Finding out the package manager used" PKG_MANAGER="npm" if [ -f "./package-lock.json" ]; then @@ -34,11 +34,11 @@ runs: PKG_MANAGER="yarn@1" fi - log_info "$(blue)Using $PKG_MANAGER" + log_info "Using $(yellow)$PKG_MANAGER" corepack use "$PKG_MANAGER" fi - log_info "$(blue)Installing shims to /usr/local/bin" + log_info "Installing shims to $(yellow)/usr/local/bin" corepack enable --install-directory "/usr/local/bin/" - name: Installing packages shell: sh @@ -46,5 +46,5 @@ runs: cd "${{ inputs.path }}" PKG_MANAGER="$(sed -nE 's/.*"packageManager": *"([^@"]+).*/\1/p' package.json)" - log_info "$(blue)Installing with ${PKG_MANAGER}" + log_info "Installing with $(yellow)${PKG_MANAGER}" corepack "${PKG_MANAGER}" install ${{ inputs.options }}