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
Copy file name to clipboardExpand all lines: docs/devops/create-dotnet-github-action.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: "Tutorial: Create a GitHub Action with .NET"
3
3
description: Learn how to create a GitHub action with a containerized .NET app.
4
4
author: IEvangelist
5
5
ms.author: dapine
6
-
ms.date: 03/19/2021
6
+
ms.date: 03/23/2021
7
7
ms.topic: tutorial
8
8
---
9
9
@@ -129,7 +129,7 @@ With the [.NET app containerized](#prepare-the-net-app-for-github-actions), and
129
129
130
130
The preceding workflow YAML file defines three primary nodes:
131
131
132
-
- The `name`, which is simply the name of the workflow. This name is also what's used when creating a [workflow status badge](https://docs.github.com/actions/managing-workflow-runs/adding-a-workflow-status-badge).
132
+
- The `name` of the workflow. This name is also what's used when creating a [workflow status badge](https://docs.github.com/actions/managing-workflow-runs/adding-a-workflow-status-badge).
133
133
- The `on` node defines when and how the action is triggered.
134
134
- The `jobs` node outlines the various jobs and steps within each job. Individual steps consume GitHub Actions.
135
135
@@ -147,9 +147,9 @@ In the preceding steps, you can observe:
147
147
1. A message is printed to the workflow log, when [manually ran](https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch).
148
148
1. A step identified as `dotnet-code-metrics`:
149
149
150
-
- `uses: dotnet/samples/github-actions/DotNet.GitHubAction@main`, which is the location of the containerized .NET app in this tutorial.
151
-
- `env`, creates an environment variable `"GREETING"`, which is printed in the execution of the app.
152
-
- `with`, specifies each of the required action inputs
150
+
- `uses: dotnet/samples/github-actions/DotNet.GitHubAction@main` is the location of the containerized .NET app in this tutorial.
151
+
- `env` creates an environment variable `"GREETING"`, which is printed in the execution of the app.
152
+
- `with` specifies each of the required action inputs.
153
153
154
154
1. A conditional step, named `Create pull request` runs when the `dotnet-code-metrics` step specifies an output parameter of `updated-metrics` with a value of `true`.
155
155
@@ -160,7 +160,7 @@ In the preceding steps, you can observe:
160
160
161
161
The [dotnet/samples](https://github.com/dotnet/samples) GitHub repository is home to many .NET sample source code projects, including the app in this tutorial.
162
162
163
-
- The app is available in the [samples browser](/samples/browse/create-dotnet-github-action).
163
+
- The app is available in the [samples browser](/samples/dotnet/samples/create-dotnet-github-action).
164
164
- The generated [*CODE_METRICS.md*](https://github.com/dotnet/samples/blob/main/github-actions/DotNet.GitHubAction/CODE_METRICS.md) file is navigable.
165
165
166
166
The *CODE_METRICS.md* file represents the hierarchy of the projects it analyzed. Each project has a top-level section, and an emoji the represents the overall status of the highest cyclomatic complexity for nested objects. As you navigate the file, each section exposes drill-down opportunities with a summary of each area. The markdown has collapsible sections as an added convenience.
@@ -191,4 +191,4 @@ The workflow specifies that `on` a `push` to the `main` branch, the action is tr
0 commit comments