From c6d08c01a082ba7bcf29835cadf52c67c0ab82da Mon Sep 17 00:00:00 2001 From: Mircea-Tiberiu Matei Date: Thu, 8 Sep 2022 17:09:46 +0300 Subject: [PATCH] #7. Fixing solution path --- .github/workflows/dotnet.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index cea94b8..3d85399 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,10 +1,6 @@ name: .NET -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] +on: [push, pull_request, workflow_dispatch] jobs: build: @@ -20,6 +16,6 @@ jobs: - name: Restore dependencies run: dotnet restore - name: Build - run: dotnet build ./src/Sample-Batch.sln --configuration Release + run: dotnet build src/Sample-Batch.sln --configuration Release - name: Test - run: dotnet test ./src/Sample-Batch.sln --configuration Release --no-build --verbosity normal + run: dotnet test src/Sample-Batch.sln --configuration Release --no-build --verbosity normal