File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 54
54
$tempDir = New-Item -ItemType Directory -Path $env:TEMP -Name "tempNodeApp"
55
55
$tmp_file = Join-Path $tempDir "index.js"
56
56
"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)
58
58
if ($output -ne 'success') {
59
59
Write-Host "Invalid"
60
60
}
@@ -105,7 +105,7 @@ jobs:
105
105
$tempDir = New-Item -ItemType Directory -Path $env:TEMP -Name "tempNodeApp"
106
106
$tmp_file = Join-Path $tempDir "index.js"
107
107
"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)
109
109
if ($output -ne 'success') {
110
110
Write-Host "Invalid"
111
111
}
You can’t perform that action at this time.
0 commit comments