diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aeb7c95..959c781 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,10 +1,9 @@ -name: Mapr Build +name: Mapr Build & Nuget Push on: push: - branches: [ main, develop, release/* ] - pull_request: - branches: [ main, develop, release/* ] + tags: + - 'v*' jobs: build: @@ -18,7 +17,6 @@ jobs: with: dotnet-version: 3.1.x - - name: Setup .NET 5.0 uses: actions/setup-dotnet@v1 with: diff --git a/GitVersion.yml b/GitVersion.yml index 86ba173..ed16160 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,5 +1,4 @@ mode: ContinuousDelivery -next-version: 0.3.0 branches: {} ignore: sha: [] diff --git a/build/Build.cs b/build/Build.cs index 64707b6..11dd6fb 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -70,7 +70,7 @@ class Build : NukeBuild .Executes(() => { DotNetTest(t => t - .SetCollectCoverage(true) + .EnableCollectCoverage() .SetCoverletOutputFormat(CoverletOutputFormat.cobertura) .SetProjectFile(Solution) );