File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3131 uses : actions/upload-artifact@v4.6.2
3232 with :
3333 name : cstojs-${{ matrix.os }}-artifact
34- path : . /CSharpToJavaScript/CSharpToJavaScript/CSharpToJavaScript/bin/Debug/net8.0/
34+ path : ~/runner/work /CSharpToJavaScript/CSharpToJavaScript/CSharpToJavaScript/bin/Debug/net8.0/
3535 if-no-files-found : error
3636 compression-level : 0
3737 test :
@@ -64,11 +64,11 @@ jobs:
6464 - name : Replace reference
6565 run : sed -i 's/<ProjectReference Include="..\..\CSharpToJavaScript\CSharpToJavaScript\CSharpToJavaScript.csproj" />/<Reference Include="MyAssembly"><HintPath>~\artifact\CSharpToJavaScript.dll</HintPath></Reference>/g' CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
6666 - name : Run tests
67- run : dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed"
67+ run : dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed" --results-directory ~\artifact\
6868 - name : Upload test result
6969 uses : actions/upload-artifact@v4.6.2
7070 with :
7171 name : test-result-${{ matrix.os }}
72- path : . /test-result-${{ matrix.os }}.html
72+ path : ~/artifact /test-result-${{ matrix.os }}.html
7373 if-no-files-found : error
7474 if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments