Add shortTitles to Actions guides for consistency (#20408)
* Update building-and-testing-ruby.md * Add shortTitle to .NET guide
This commit is contained in:
committed by
GitHub
parent
e501dd66d4
commit
f36c373413
@@ -6,6 +6,7 @@ versions:
|
||||
fpt: '*'
|
||||
ghes: '>=2.22'
|
||||
ghae: '*'
|
||||
shortTitle: Build & test .NET
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
@@ -64,7 +65,7 @@ jobs:
|
||||
## Specifying a .NET version
|
||||
|
||||
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.
|
||||
|
||||
|
||||
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.
|
||||
|
||||
### 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
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
# Semantic version range syntax or exact version of a dotnet version
|
||||
dotnet-version: '3.x'
|
||||
dotnet-version: '3.x'
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ type: tutorial
|
||||
topics:
|
||||
- CI
|
||||
- Ruby
|
||||
shortTitle: Build & test Ruby
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
|
||||
Reference in New Issue
Block a user