ActionsMinUtils 0.0.0-alpha.27

This is a prerelease version of ActionsMinUtils.
dotnet add package ActionsMinUtils --version 0.0.0-alpha.27                
NuGet\Install-Package ActionsMinUtils -Version 0.0.0-alpha.27                
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="ActionsMinUtils" Version="0.0.0-alpha.27" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ActionsMinUtils --version 0.0.0-alpha.27                
#r "nuget: ActionsMinUtils, 0.0.0-alpha.27"                
#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 ActionsMinUtils as a Cake Addin
#addin nuget:?package=ActionsMinUtils&version=0.0.0-alpha.27&prerelease

// Install ActionsMinUtils as a Cake Tool
#tool nuget:?package=ActionsMinUtils&version=0.0.0-alpha.27&prerelease                

ActionsMinUtils

This is a very small set of utilities for working with .NET Core based GitHub Actions.

This library is intended particularly at making it easier to build Docker container Actions.

It contains utilities for:

  • logging
  • dealing with inputs and environment variables
  • talking to GitHub APIs (with retry)

Logger

The Logger class is a simple wrapper around the System.Console class. It provides a few convenience methods for logging messages to the console in a way Actions can understand.

ActionContext

The ActionContext class provides methods for reading and validating both environment variables and inputs. As a matter of fact, to avoid having to deal with container args, inputs are read from environment variables!

github

This namespace provides various GitHub specific utilities.

DefaultVariables

The DefaultVariables class defines useful constants for referring to default environment variables exposed to Actions runners.

GitHub

The GitHub class defines two clients for talking to GitHub APIs, Rest and GraphQL.

templating

MarkersParser

The MarkersParser class provides utilities for parsing and formatting simple Markers. They are meant to be one-liner embedded in various text files (Markdown, YAML, etc.).

Templates

The Templates class provides basic templating capabilities using Liquid to parse templates from string or files. It comes with basic support for Markers too and can be used to render arbitrary supplied variables.

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
0.0.0-alpha.27 7,899 7/23/2024
0.0.0-alpha.24 1,129 7/8/2024
0.0.0-alpha.23 56 7/7/2024
0.0.0-alpha.22 60 7/6/2024
0.0.0-alpha.21 67 7/6/2024
0.0.0-alpha.20 61 7/5/2024
0.0.0-alpha.15 122 7/2/2024
0.0.0-alpha 246 2/24/2024