mirror of
https://github.com/actions/setup-node
synced 2025-04-20 07:03:11 +00:00
remove quotes on comparing string
This commit is contained in:
parent
3a94d560e1
commit
07e689a783
4
.github/workflows/versions.yml
vendored
4
.github/workflows/versions.yml
vendored
@ -150,8 +150,8 @@ jobs:
|
||||
steps:
|
||||
- name: Get node version
|
||||
run: |
|
||||
latest_node_version=$(echo $(curl https://nodejs.org/dist/index.json | jq '. [0].version'))
|
||||
echo "::set-output name=LATEST_NODE_VERSION::$latest_node_version"
|
||||
latestNodeVersion=$(curl https://nodejs.org/dist/index.json | jq -r '. [0].version')
|
||||
echo "::set-output name=LATEST_NODE_VERSION::$latestNodeVersion"
|
||||
id: version
|
||||
shell: bash
|
||||
- uses: actions/checkout@v3
|
||||
|
Loading…
Reference in New Issue
Block a user