Skip to content

Commit 25437bd

Browse files
committed
ci: try to fix node extraction for win
1 parent 4ee213a commit 25437bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Get minimal Node.js version from package.json (Windows)
3737
id: node-version-win
3838
if: runner.os == 'Windows'
39-
run: echo "::set-output name=version::$(node -p 'require(\"./package.json\").engines.node.match(/(\d+)\..*$/)[1]')"
39+
run: echo "::set-output name=version::$(node -p 'require("./package.json").engines.node.match(/(\d+)\..*$/)[1]')"
4040

4141
- name: Use Node.js ${{ steps.node-version-win.outputs.version }} (Windows)
4242
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)