You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A .NET 6 console application that contains the example from Create a GitHub Action with .NET tutorial.
# Create a GitHub Action with .NET
This sample is a console application written in C# from the [Create a GitHub Action with .NET tutorial](https://docs.microsoft.com/dotnet/devops/create-dotnet-github-action). The article gives an overview of what is required to create a .NET GitHub Action.
## Sample prerequisites
This sample is written in C# and targets .NET 6. It requires the [.NET 6.0 SDK](https://dotnet.microsoft.com/download/dotnet/6.0) or later.
## Building the sample
To download and run the sample, follow these steps:
1. Download and unzip the sample.
2. In Visual Studio (2022 or later):
1. On the menu bar, choose **File** > **Open** > **Project/Solution**.
2. Navigate to the folder that holds the unzipped sample code, and open the C# project (.csproj) file.
3. Choose the <kbd>F5</kbd> key to run with debugging, or <kbd>Ctrl</kbd>+<kbd>F5</kbd> keys to run the project without debugging.
3. From the command line:
1. Navigate to the folder that holds the unzipped sample code.
2. At the command line, type [`dotnet run`](https://docs.microsoft.com/dotnet/core/tools/dotnet-run).
## More information
- <https://docs.microsoft.com/dotnet/devops/create-dotnet-github-action>
# DotNet.GitHubAction