mirror of
https://github.com/actions/setup-node.git
synced 2025-04-24 20:22:13 +00:00
fix e2e
This commit is contained in:
parent
dd2d49377f
commit
3a94d560e1
1 changed files with 3 additions and 5 deletions
6
.github/workflows/versions.yml
vendored
6
.github/workflows/versions.yml
vendored
|
@ -150,10 +150,8 @@ jobs:
|
|||
steps:
|
||||
- name: Get node version
|
||||
run: |
|
||||
version = $(curl https://nodejs.org/dist/index.json | jq '.[0] | .version')
|
||||
id: version
|
||||
echo "::set-output name=LATEST_NODE_VERSION::$version"
|
||||
shell: bash
|
||||
latest_node_version=$(echo $(curl https://nodejs.org/dist/index.json | jq '. [0].version'))
|
||||
echo "::set-output name=LATEST_NODE_VERSION::$latest_node_version"
|
||||
id: version
|
||||
shell: bash
|
||||
- uses: actions/checkout@v3
|
||||
|
|
Loading…
Add table
Reference in a new issue