-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrecipe.cake
More file actions
26 lines (20 loc) · 813 Bytes
/
recipe.cake
File metadata and controls
26 lines (20 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#load nuget:?package=Cake.Recipe&version=3.1.1
var standardNotificationMessage = "Version {0} of {1} has just been released, it will be available here https://www.nuget.org/packages/{1}, once package indexing is complete.";
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "JavaVersionSwitcher",
masterBranchName: "main",
repositoryOwner: "nils-org",
shouldRunDotNetCorePack: true,
preferredBuildProviderType: BuildProviderType.GitHubActions,
twitterMessage: standardNotificationMessage,
shouldRunIntegrationTests: false,
shouldRunCoveralls: false,
shouldRunCodecov: false
);
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(context: Context);
Build.RunDotNetCore();