node bin var

This commit is contained in:
tim
2026-03-03 15:03:18 -05:00
parent 3bc3a61a45
commit c2ef9ce6c9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -224,7 +224,7 @@ function gha-cache-restore-fast() {(
local _actions="${_actions:-/d/a/_actions}"
export INPUT_KEY="$1" INPUT_PATH="$2"
$node $_actions/actions/cache/v4/dist/restore-only/index.js \
"$node" $_actions/actions/cache/v4/dist/restore-only/index.js \
| grep -i 'cache restored' >&2 && return 0
echo "(cache not restored: ${INPUT_KEY})" >&2
return 1
@@ -237,6 +237,6 @@ function gha-cache-save-fast() {(
local node="${node:-/c/Program Files/nodejs/node}"
local _actions="${_actions:-/d/a/_actions}"
export INPUT_KEY="$1" INPUT_PATH="$2"
$node $_actions/actions/cache/v4/dist/save-only/index.js || return $?
"$node" $_actions/actions/cache/v4/dist/save-only/index.js || return $?
echo "cache saved: ${INPUT_KEY}" >&2
)}
+1 -1
View File
@@ -83,7 +83,7 @@ function gha-upload-artifact-fast() {(
INPUT_OVERWRITE=${5:-false} \
INPUT_INCLUDE-HIDDEN-FILES=true \
INPUT_IF-NO-FILES-FOUND=error \
$node $_actions/actions/upload-artifact/v4/dist/upload/index.js || return $?
"$node" $_actions/actions/upload-artifact/v4/dist/upload/index.js || return $?
echo "uploaded: ${INPUT_PATH}" >&2
)}