mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +00:00
remove quotes on comparing string
This commit is contained in:
parent
3a94d560e1
commit
07e689a783
1 changed files with 2 additions and 2 deletions
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…
Add table
Reference in a new issue