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.
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.
The ActionContext
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!