chore: add path on restore, build and test

pull/185/head
Ming Tsai 2021-04-14 21:57:01 -04:00
parent ed658ec53d
commit 92e336fcae
2 changed files with 3 additions and 9 deletions

View File

@ -17,15 +17,9 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Go to directory
run: |
cd algorithms/CSharp
ls
- name: Restore dependencies
run: |
ls
dotnet restore
run: dotnet restore algorithms/CSharp
- name: Build
run: dotnet build --no-restore
run: dotnet build algorithms/CSharp --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test algorithms/CSharp --no-build --verbosity normal