File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,12 @@ jobs:
147
147
echo "TEST_PROJECT_PATH=$projectPath" >> $env:GITHUB_ENV
148
148
echo "TEST_ASSEMBLY_NAME=$filenameWithoutExtension" >> $env:GITHUB_ENV
149
149
150
+ - name : Set executable extension (Windows)
151
+ if : inputs.os == 'windows-latest'
152
+ shell : pwsh
153
+ run : |
154
+ echo "TEST_EXECUTABLE_EXTENSION=.exe" >> $env:GITHUB_ENV
155
+
150
156
- name : Build test project
151
157
if : ${{ ! inputs.requiresNugets }}
152
158
env :
@@ -220,7 +226,7 @@ jobs:
220
226
TEST_LOG_PATH : ${{ github.workspace }}/artifacts/log/test-logs
221
227
TestsRunningOutsideOfRepo : true
222
228
run : >
223
- dotnet exec ${{ env.TEST_ASSEMBLY_NAME }}.dll
229
+ ${{ env.TEST_ASSEMBLY_NAME }}${{ env.TEST_EXECUTABLE_EXTENSION }}
224
230
--report-trx --report-trx-filename "${{ inputs.testShortName }}.trx"
225
231
--hangdump --hangdump-timeout ${{ inputs.testHangTimeout }}
226
232
--crashdump
You can’t perform that action at this time.
0 commit comments