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