Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@
name: continuous

on:
push:
branches:
- master
- main
- 'release/*'
pull_request:
branches:
- master
- main
- 'release/*'

jobs:
Expand Down
4 changes: 3 additions & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"continuous",
GitHubActionsImage.WindowsLatest,
AutoGenerate = false,
OnPullRequestBranches = [MasterBranch, ReleaseBranch],
OnPushBranches = [MasterBranch, MainBranch, ReleaseBranch],
OnPullRequestBranches = [MasterBranch, MainBranch, ReleaseBranch],
PublishArtifacts = false,
InvokedTargets = [nameof(Verify), nameof(Cover), nameof(Pack)],
EnableGitHubToken = true)]
Expand All @@ -39,6 +40,7 @@ class Build : NukeBuild
public static int Main() => Execute<Build>(x => x.Compile);

const string MasterBranch = "master";
const string MainBranch = "main";
const string ReleaseBranch = "release/*";

[Parameter("Configuration to build - Default is 'Debug' (local) or 'Release' (server)")]
Expand Down