Skip to content

Commit d2a1c0d

Browse files
authored
Update ubuntu.yml
1 parent 7d454a2 commit d2a1c0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
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() }}

0 commit comments

Comments
 (0)