Cake.Frosting.PleOps.Recipe 1.0.3

dotnet add package Cake.Frosting.PleOps.Recipe --version 1.0.3
NuGet\Install-Package Cake.Frosting.PleOps.Recipe -Version 1.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cake.Frosting.PleOps.Recipe" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cake.Frosting.PleOps.Recipe --version 1.0.3
#r "nuget: Cake.Frosting.PleOps.Recipe, 1.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cake.Frosting.PleOps.Recipe as a Cake Addin
#addin nuget:?package=Cake.Frosting.PleOps.Recipe&version=1.0.3

// Install Cake.Frosting.PleOps.Recipe as a Cake Tool
#tool nuget:?package=Cake.Frosting.PleOps.Recipe&version=1.0.3

PleOps Cake MIT license

Complete DevOps workflow and best-practices for .NET projects based on Cake.

  • ♻️ DevOps best practices for a software project
  • 🔧 Build, test and release tasks for .NET projects and documentation sites
  • 📚 Documentation explaining the workflow
  • 📋 Template repository ready to use

Tech stack

  • Projects: C# / .NET
  • Documentation: DocFX, GitHub page
  • CI: GitHub Actions
  • Release deployment: NuGet feeds, GitHub

Usage

The project ships a NuGet library with Cake Frosting tasks:

  • Cake.Frosting.PleOps.Recipe: Package in NuGet

To use it, create a new console application with the Cake Frosting template, add a reference to this recipe NuGet and its tasks will be available to use.

return new CakeHost()
    .AddAssembly(typeof(Cake.Frosting.PleOps.Recipe.PleOpsBuildContext).Assembly)
    .UseContext<Cake.Frosting.PleOps.Recipe.PleOpsBuildContext>()
    .UseLifetime<BuildLifetime>()
    .Run(args);

[TaskName("Default")]
[IsDependentOn(typeof(Cake.Frosting.PleOps.Recipe.Common.SetGitVersionTask))]
[IsDependentOn(typeof(Cake.Frosting.PleOps.Recipe.Common.CleanArtifactsTask))]
[IsDependentOn(typeof(Cake.Frosting.PleOps.Recipe.Dotnet.DotnetTasks.BuildProjectTask))]
public sealed class DefaultTask : FrostingTask
{
}

Then just run the project to start the build system:

dotnet run --project build/orchestrator

Pushing commits will trigger a new continuous integration build with a similar output as this:

ci-output

[!TIP]
Find a detailed setup guide in the documentation site.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 154 1/31/2024
1.0.2 376 12/19/2023
1.0.1 484 11/23/2023
1.0.0 236 11/23/2023

## v1.0.3 (January 31, 2024)


Fixes issue deploying projects to GitHub with no binary artifacts.

## Migration

1. Update the version of PleOps.Cake in your build orchestrator .csproj
2. Update the GitHub Action task versions in your workflow file

## What&apos;s Changed
* 🐛 Do not fail uploading binaries to the GitHub release if there are none by @pleonex in https://github.com/pleonex/PleOps.Cake/pull/81
* ⬆️ Update artifacts GitHub Action tasks by @pleonex in https://github.com/pleonex/PleOps.Cake/pull/82


**Full Changelog**: https://github.com/pleonex/PleOps.Cake/compare/v1.0.2...v1.0.3