mirror of
				https://github.com/Biarity/Sieve.git
				synced 2025-11-04 02:39:00 +01:00 
			
		
		
		
	Use ci.yml for PRs only
This commit is contained in:
		
				
					committed by
					
						
						Keivn Sommer
					
				
			
			
				
	
			
			
			
						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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user