mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tools: fix daily wpt nightly version selection
PR-URL: https://github.com/nodejs/node/pull/46891 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
2
.github/workflows/daily-wpt-fyi.yml
vendored
2
.github/workflows/daily-wpt-fyi.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
# install a version and checkout
|
||||
- name: Get latest nightly
|
||||
if: matrix.node-version == 'latest-nightly'
|
||||
run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '.[0].version')" >> $GITHUB_ENV
|
||||
run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '[.[] | select(.files[] | contains("linux-x64"))][0].version')" >> $GITHUB_ENV
|
||||
- name: Install Node.js
|
||||
id: setup-node
|
||||
uses: actions/setup-node@v3
|
||||
|
||||
Reference in New Issue
Block a user