Skip to content

Commit 338bbaa

Browse files
authored
Fix samples link, and minor clean up (#23451)
1 parent cc95173 commit 338bbaa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/devops/create-dotnet-github-action.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Tutorial: Create a GitHub Action with .NET"
33
description: Learn how to create a GitHub action with a containerized .NET app.
44
author: IEvangelist
55
ms.author: dapine
6-
ms.date: 03/19/2021
6+
ms.date: 03/23/2021
77
ms.topic: tutorial
88
---
99

@@ -129,7 +129,7 @@ With the [.NET app containerized](#prepare-the-net-app-for-github-actions), and
129129
130130
The preceding workflow YAML file defines three primary nodes:
131131
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).
133133
- The `on` node defines when and how the action is triggered.
134134
- The `jobs` node outlines the various jobs and steps within each job. Individual steps consume GitHub Actions.
135135
@@ -147,9 +147,9 @@ In the preceding steps, you can observe:
147147
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).
148148
1. A step identified as `dotnet-code-metrics`:
149149
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.
153153
154154
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`.
155155
@@ -160,7 +160,7 @@ In the preceding steps, you can observe:
160160
161161
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.
162162
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).
164164
- The generated [*CODE_METRICS.md*](https://github.com/dotnet/samples/blob/main/github-actions/DotNet.GitHubAction/CODE_METRICS.md) file is navigable.
165165
166166
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
191191
## Next steps
192192
193193
> [!div class="nextstepaction"]
194-
> [.NET GitHub Action sample code](/samples/browse/create-dotnet-github-action)
194+
> [.NET GitHub Action sample code](/samples/dotnet/samples/create-dotnet-github-action)

0 commit comments

Comments
 (0)