Skip to content

Commit

Permalink
Changing primary branch name and cake build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hoakbuilds committed Sep 30, 2021
1 parent d7f07b6 commit 4924c70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build, Pack & Publish
on:
push:
branches:
- master # Default release branch
- main # Default release branch
jobs:
publish:
name: build, pack & publish
Expand Down
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Task("Report")


Task("Publish")
.IsDependentOn("Report")
.IsDependentOn("Build")
.Does(() => {
DotNetCorePublish(solutionFolder, new DotNetCorePublishSettings
{
Expand Down

0 comments on commit 4924c70

Please sign in to comment.