File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 run : |
5454 $tmp_file = New-TemporaryFile
5555 "console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
56- $output = (docker run --rm -v "${{ github.workspace }}$ tmp_file:/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
56+ $output = (docker run --rm -v "${tmp_file} :/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
5757 if ($output -ne 'success') {
5858 exit 1
5959 }
@@ -103,7 +103,7 @@ jobs:
103103 run : |
104104 $tmp_file = New-TemporaryFile
105105 "console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
106- $output = (docker run --rm -v "${{ github.workspace }}${ tmp_file}:/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
106+ $output = (docker run --rm -v "${tmp_file}:/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
107107 if ($output -ne 'success') {
108108 exit 1
109109 }
You can’t perform that action at this time.
0 commit comments