Skip to content

Commit 94c6181

Browse files
committed
Specify full path to sln
1 parent 001ac35 commit 94c6181

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# This workflow will build a .NET project
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
33

4+
name: 'dotnet.yml'
5+
46
on:
57
push:
68
branches: [ "dev" ]
@@ -31,6 +33,6 @@ jobs:
3133
with:
3234
dotnet-version: 4.6.2
3335
- name: Build
34-
run: msbuild test\HtmlToOpenXml.Tests/HtmlToOpenXml.Tests.dll /p:Configuration=Release
36+
run: msbuild ${{github.workspace}}/HtmlToOpenXml.sln /p:Configuration=Release
3537
- name: Run tests (NET Framework)
36-
run: vstest.console.exe test\HtmlToOpenXml.Tests/HtmlToOpenXml.Tests.dll
38+
run: vstest.console.exe test\HtmlToOpenXml.Tests\HtmlToOpenXml.Tests.dll

0 commit comments

Comments
 (0)