TimHeuer.GitHubActions.Templates
1.3.0
dotnet new install TimHeuer.GitHubActions.Templates@1.3.0
dotnet new workflow
This is a simple global tool to give you a handy and quick method to create a GitHub Actions workflow file for continous integration (CI) builds.
For more information on why you can read this blog post: https://timheuer.com/blog/generate-github-actions-workflow-from-cli/.
Usage
To create a workflow for your project from the root of your source code (which would represent the root of your repo -- GitHub Actions workflows exist in the root of your repo). Some examples
Default
To use all the defaults:
dotnet new workflow
This generates the workflow with all the defaults:
- latest SDK version using Major.Minor.x versioning (e.g.,
8.0.x) - workflow file will use project name
- default branch of
main
Custom options
To specify the name of your YAML file and/or the SDK version you want to use specify more options:
dotnet new workflow --sdk-version 8.0.100 -n build -b your_branch_name
-
.NETStandard 2.0
- No dependencies.
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.3.0 | 699 | 10/9/2025 |
| 1.2.0 | 962 | 5/2/2024 |
| 1.1.10 | 1,611 | 2/16/2024 |
| 1.1.9 | 722 | 2/16/2024 |
| 1.1.8 | 2,455 | 12/10/2023 |
| 1.1.7 | 1,732 | 11/1/2023 |
| 1.1.6 | 1,004 | 8/5/2023 |
| 1.1.5 | 1,150 | 2/27/2023 |
| 1.1.4 | 1,071 | 11/2/2022 |
| 1.1.3 | 900 | 10/28/2022 |
| 1.1.2 | 879 | 10/28/2022 |
| 1.1.1 | 1,101 | 8/17/2022 |
| 1.1.0 | 1,070 | 4/21/2022 |
| 1.0.9 | 1,032 | 2/17/2022 |
| 1.0.8 | 879 | 11/3/2021 |
| 1.0.7 | 1,741 | 8/3/2021 |
| 1.0.6 | 2,095 | 4/27/2021 |
| 1.0.5 | 1,079 | 2/23/2021 |
| 1.0.4 | 1,176 | 11/3/2020 |
| 1.0.3 | 1,017 | 11/3/2020 |