Skip to content

Commit a30e089

Browse files
committed
wip
1 parent a517ad2 commit a30e089

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ runs:
2121
shell: bash
2222
2323
- run: |
24-
if ! node --version >/dev/null 2>&1; then
25-
set -a
26-
eval "$(pkgx +node)"
27-
set +a
24+
if ! command -v node >/dev/null 2>&1; then
25+
node() { pkgx node^20 "$@" || }
2826
fi
2927
node "$GITHUB_ACTION_PATH"/action.js ${{ steps.env.outputs.file }}
3028
shell: bash

0 commit comments

Comments
 (0)