Skip to content

Commit d3738da

Browse files
committed
Fix
1 parent a966236 commit d3738da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-test-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
$tempDir = New-Item -ItemType Directory -Path $env:TEMP -Name "tempNodeApp"
5555
$tmp_file = Join-Path $tempDir "index.js"
5656
"console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
57-
$output = (docker run --rm -w /app --mount "type=bind,src=$tempDir,target=c:\app" node:22.7.0-windows-2019 C:/app/index.js)
57+
$output = (docker run --rm -w /app --mount "type=bind,src=$tempDir,target=c:\app" node:${{ matrix.version }}-${{ matrix.variant }} C:/app/index.js)
5858
if ($output -ne 'success') {
5959
Write-Host "Invalid"
6060
}
@@ -105,7 +105,7 @@ jobs:
105105
$tempDir = New-Item -ItemType Directory -Path $env:TEMP -Name "tempNodeApp"
106106
$tmp_file = Join-Path $tempDir "index.js"
107107
"console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
108-
$output = (docker run --rm -w /app --mount "type=bind,src=$tempDir,target=c:\app" node:22.7.0-windows-2019 C:/app/index.js)
108+
$output = (docker run --rm -w /app --mount "type=bind,src=$tempDir,target=c:\app" node:${{ matrix.version }}-${{ matrix.variant }} C:/app/index.js)
109109
if ($output -ne 'success') {
110110
Write-Host "Invalid"
111111
}

0 commit comments

Comments
 (0)