Skip to content

Commit cf148c0

Browse files
committed
Fix
1 parent c734f62 commit cf148c0

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
$tmp_file = New-TemporaryFile
5555
"console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
5656
$dockerPath = $tmp_file.FullName.Replace('\', '/')
57-
$output = (docker run --rm -v "${dockerPath}:/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
57+
$output = (docker run --rm -v "${dockerPath}:/app/index.js:r" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
5858
if ($output -ne 'success') {
5959
exit 1
6060
}
@@ -105,7 +105,7 @@ jobs:
105105
$tmp_file = New-TemporaryFile
106106
"console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
107107
$dockerPath = $tmp_file.FullName.Replace('\', '/')
108-
$output = (docker run --rm -v "${dockerPath}:/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
108+
$output = (docker run --rm -v "${dockerPath}:/app/index.js:r" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
109109
if ($output -ne 'success') {
110110
exit 1
111111
}

0 commit comments

Comments
 (0)