-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
New named aliases introduced in #481 are not resolving correctly. Using named alias lts/*
on hosted GitHub runners resolves to Node v16
instead of the current LTS v18
. As a result, each of the named aliases lts/-n
are offset incorrectly. (-1
resolves to v14
instead of v16
, -2
to v12
, etc..)
Action version:
v3.3
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
Repro steps:
Setup GitHub action using aliases for node versions:
https://github.com/amclin/aem-packager/blob/master/.github/workflows/run-tests.yml
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['lts/*', 'lts/-1', 'lts/-2']
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
Expected behavior:
lts/-2
resolves to Nodev14
lts/-1
resolves to Nodev16
lts/*
resolves to Nodev18
Actual behavior:
lts/-2
resolves to Nodev12
lts/-1
resolves to Nodev14
lts/*
resolves to Nodev16
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working