Skip to content

Commit fc4efa3

Browse files
committed
fix: use matrix.version
1 parent 8f9ebd9 commit fc4efa3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/node-test-mysql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
result-encoding: string
108108
script: |
109109
const osVersion = '${{ matrix.os }}';
110-
const nodeVersion = '${{ matrix['node-version'] }}';
110+
const nodeVersion = '${{ matrix.version }}';
111111
const isMacOS = osVersion === 'macos-latest' || osVersion.startsWith('macos');
112112
const isMajor14 = nodeVersion === '14' || nodeVersion.startsWith('14.');
113113
if (isMacOS && isMajor14) {

.github/workflows/node-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
result-encoding: string
8383
script: |
8484
const osVersion = '${{ matrix.os }}';
85-
const nodeVersion = '${{ matrix['node-version'] }}';
85+
const nodeVersion = '${{ matrix.version }}';
8686
const isMacOS = osVersion === 'macos-latest' || osVersion.startsWith('macos');
8787
const isMajor14 = nodeVersion === '14' || nodeVersion.startsWith('14.');
8888
if (isMacOS && isMajor14) {

0 commit comments

Comments
 (0)