mirror of
https://github.com/Biarity/Sieve.git
synced 2025-01-19 00:22:48 +01:00
Use ci.yml for PRs only
This commit is contained in:
parent
79c825cb7a
commit
034730bffb
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -17,10 +17,6 @@
|
||||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- 'releases/*'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
@ -14,7 +14,6 @@ using static Nuke.Common.Tools.DotNet.DotNetTasks;
|
||||
[CheckBuildProjectConfigurations]
|
||||
[ShutdownDotNetAfterServerBuild]
|
||||
[GitHubActions("ci", GitHubActionsImage.UbuntuLatest,
|
||||
OnPushBranches = new[] {"master", "releases/*"},
|
||||
OnPullRequestBranches = new[] {"master", "releases/*"},
|
||||
AutoGenerate = true,
|
||||
InvokedTargets = new[] {nameof(Ci)},
|
||||
@ -95,7 +94,7 @@ class Build : NukeBuild
|
||||
});
|
||||
|
||||
Target Ci => _ => _
|
||||
.DependsOn(Package);
|
||||
.DependsOn(Test);
|
||||
|
||||
Target CiPublish => _ => _
|
||||
.DependsOn(Publish);
|
||||
|
Loading…
Reference in New Issue
Block a user