Skip to content

Commit f36c373

Browse files
authored
Add shortTitles to Actions guides for consistency (github#20408)
* Update building-and-testing-ruby.md * Add shortTitle to .NET guide
1 parent e501dd6 commit f36c373

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

content/actions/guides/building-and-testing-net.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ versions:
66
fpt: '*'
77
ghes: '>=2.22'
88
ghae: '*'
9+
shortTitle: Build & test .NET
910
---
1011

1112
{% data reusables.actions.enterprise-beta %}
@@ -64,7 +65,7 @@ jobs:
6465
## Specifying a .NET version
6566
6667
To use a preinstalled version of the .NET Core SDK on a {% data variables.product.prodname_dotcom %}-hosted runner, use the `setup-dotnet` action. This action finds a specific version of .NET from the tools cache on each runner, and adds the necessary binaries to `PATH`. These changes will persist for the remainder of the job.
67-
68+
6869
The `setup-dotnet` action is the recommended way of using .NET with {% data variables.product.prodname_actions %}, because it ensures consistent behavior across different runners and different versions of .NET. If you are using a self-hosted runner, you must install .NET and add it to `PATH`. For more information, see the [`setup-dotnet`](https://github.com/marketplace/actions/setup-net-core-sdk) action.
6970

7071
### Using multiple .NET versions
@@ -105,7 +106,7 @@ You can configure your job to use a specific version of .NET, such as `3.1.3`. A
105106
uses: actions/setup-dotnet@v1
106107
with:
107108
# Semantic version range syntax or exact version of a dotnet version
108-
dotnet-version: '3.x'
109+
dotnet-version: '3.x'
109110
```
110111
{% endraw %}
111112

content/actions/guides/building-and-testing-ruby.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ type: tutorial
1010
topics:
1111
- CI
1212
- Ruby
13+
shortTitle: Build & test Ruby
1314
---
1415

1516
{% data reusables.actions.enterprise-beta %}

0 commit comments

Comments
 (0)