From 92e336fcaecfc105810f77e2a29b1a545bdb2273 Mon Sep 17 00:00:00 2001 From: Ming Tsai Date: Wed, 14 Apr 2021 21:57:01 -0400 Subject: [PATCH] chore: add path on restore, build and test --- .github/workflows/dotnet.yml | 12 +++--------- algorithms/CSharp/{CSharp.sln => Algorithms.sln} | 0 2 files changed, 3 insertions(+), 9 deletions(-) rename algorithms/CSharp/{CSharp.sln => Algorithms.sln} (100%) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index cb627e4c..2414ed29 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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 diff --git a/algorithms/CSharp/CSharp.sln b/algorithms/CSharp/Algorithms.sln similarity index 100% rename from algorithms/CSharp/CSharp.sln rename to algorithms/CSharp/Algorithms.sln