Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand current syntax to support aliases for latest version (current/latest/node) #483

Merged
merged 23 commits into from
May 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix e2e
  • Loading branch information
panticmilos committed May 9, 2022
commit 3a94d560e16bbac7f424ba915a3e5ac737dbe9fd
8 changes: 3 additions & 5 deletions .github/workflows/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -171,4 +169,4 @@ jobs:
if: ${{ steps.version.outputs.LATEST_NODE_VERSION != steps.updatedVersion.outputs.NODE_VERSION_UPDATED}}
run: |
echo "Latest node version failed to download."
exit 1
exit 1