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
$tmp_file = New-TemporaryFile
55
55
"console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
56
56
$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)
58
58
if ($output -ne 'success') {
59
59
exit 1
60
60
}
@@ -105,7 +105,7 @@ jobs:
105
105
$tmp_file = New-TemporaryFile
106
106
"console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
107
107
$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)
109
109
if ($output -ne 'success') {
110
110
exit 1
111
111
}
You can’t perform that action at this time.
0 commit comments