Automatically discover used .NET versions in the current repository and emit a JSON file with them, for use in automatic .NET environment setup using dotnet-env GitHub action.
> dotnet env --help
DESCRIPTION:
Discovers .NET versions used in the current directory recursively
USAGE:
dotnet env [OPTIONS] [COMMAND]
OPTIONS:
-h, --help Prints help information
-o, --output [FILE] Whether to write versions to an output file. File
path defaults to ./.github/dotnet.json
COMMANDS:
workflow Creates a GitHub Actions workflow file for dotnet-env
> dotnet env workflow --help
DESCRIPTION:
Creates a GitHub Actions workflow file for dotnet-env
USAGE:
dotnet env workflow [file] [OPTIONS]
ARGUMENTS:
[file] Path to the versions file to use in the workflow. Defaults to
./.github/dotnet.json
OPTIONS:
-h, --help Prints help information