From f36c3734135b5a52e8d0c23c4d178de6c8f484bc Mon Sep 17 00:00:00 2001 From: Melanie Yarbrough <11952755+myarb@users.noreply.github.com> Date: Mon, 19 Jul 2021 17:49:41 -0400 Subject: [PATCH] Add shortTitles to Actions guides for consistency (#20408) * Update building-and-testing-ruby.md * Add shortTitle to .NET guide --- content/actions/guides/building-and-testing-net.md | 5 +++-- content/actions/guides/building-and-testing-ruby.md | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/content/actions/guides/building-and-testing-net.md b/content/actions/guides/building-and-testing-net.md index 508b2a3107..d57d7a1db7 100644 --- a/content/actions/guides/building-and-testing-net.md +++ b/content/actions/guides/building-and-testing-net.md @@ -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 %} diff --git a/content/actions/guides/building-and-testing-ruby.md b/content/actions/guides/building-and-testing-ruby.md index c06fdee684..037caef30c 100644 --- a/content/actions/guides/building-and-testing-ruby.md +++ b/content/actions/guides/building-and-testing-ruby.md @@ -10,6 +10,7 @@ type: tutorial topics: - CI - Ruby +shortTitle: Build & test Ruby --- {% data reusables.actions.enterprise-beta %}