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
|
name: ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- 'releases/*'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
@ -14,7 +14,6 @@ using static Nuke.Common.Tools.DotNet.DotNetTasks;
|
|||||||
[CheckBuildProjectConfigurations]
|
[CheckBuildProjectConfigurations]
|
||||||
[ShutdownDotNetAfterServerBuild]
|
[ShutdownDotNetAfterServerBuild]
|
||||||
[GitHubActions("ci", GitHubActionsImage.UbuntuLatest,
|
[GitHubActions("ci", GitHubActionsImage.UbuntuLatest,
|
||||||
OnPushBranches = new[] {"master", "releases/*"},
|
|
||||||
OnPullRequestBranches = new[] {"master", "releases/*"},
|
OnPullRequestBranches = new[] {"master", "releases/*"},
|
||||||
AutoGenerate = true,
|
AutoGenerate = true,
|
||||||
InvokedTargets = new[] {nameof(Ci)},
|
InvokedTargets = new[] {nameof(Ci)},
|
||||||
@ -95,7 +94,7 @@ class Build : NukeBuild
|
|||||||
});
|
});
|
||||||
|
|
||||||
Target Ci => _ => _
|
Target Ci => _ => _
|
||||||
.DependsOn(Package);
|
.DependsOn(Test);
|
||||||
|
|
||||||
Target CiPublish => _ => _
|
Target CiPublish => _ => _
|
||||||
.DependsOn(Publish);
|
.DependsOn(Publish);
|
||||||
|
Loading…
Reference in New Issue
Block a user