Skip to content

Commit

Permalink
Add tag branch filter to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Renaud committed Dec 7, 2021
1 parent 3715694 commit 951e9b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -18,7 +17,6 @@ jobs:
with:
dotnet-version: 3.1.x


- name: Setup .NET 5.0
uses: actions/setup-dotnet@v1
with:
Expand Down
1 change: 0 additions & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
mode: ContinuousDelivery
next-version: 0.3.0
branches: {}
ignore:
sha: []
Expand Down
2 changes: 1 addition & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Build : NukeBuild
.Executes(() =>
{
DotNetTest(t => t
.SetCollectCoverage(true)
.EnableCollectCoverage()
.SetCoverletOutputFormat(CoverletOutputFormat.cobertura)
.SetProjectFile(Solution)
);
Expand Down

0 comments on commit 951e9b5

Please sign in to comment.