From f02c009132dc7b50a5e286d2ec2394ab5d78172a Mon Sep 17 00:00:00 2001 From: Yuki Fukuma Date: Thu, 30 Apr 2026 05:48:02 +0900 Subject: [PATCH] Fix docs.github.com URLs to avoid 301 redirects --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 351a236..f8eee1b 100644 --- a/README.md +++ b/README.md @@ -133,8 +133,8 @@ jobs: ``` See the GitHub Actions documentation for more details about the -[workflow syntax](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions) -and the [condition and expression syntax](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions). +[workflow syntax](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax) +and the [condition and expression syntax](https://docs.github.com/en/actions/reference/workflows-and-actions/contexts). ### Supported Version Syntax @@ -252,7 +252,7 @@ Note that running CI on Windows can be quite challenging if you are not very fam It is recommended to first get your build working on Ubuntu and macOS before trying Windows. * Use Bundler 2.2.18+ on Windows (older versions have [bugs](https://github.com/ruby/setup-ruby/issues/209#issuecomment-889064123)) by not setting the `bundler:` input and ensuring there is no `BUNDLED WITH 1.x.y` in a checked-in `Gemfile.lock`. -* The default shell on Windows is not Bash but [PowerShell](https://docs.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#using-a-specific-shell). +* The default shell on Windows is not Bash but [PowerShell](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#using-a-specific-shell). This can lead issues such as multi-line scripts [not working as expected](https://github.com/ruby/setup-ruby/issues/13). * The `PATH` contains [multiple compiler toolchains](https://github.com/ruby/setup-ruby/issues/19). Use `where.exe` to debug which tool is used. * For Ruby ≥ 2.4, MSYS2 is prepended to the `Path`, similar to what RubyInstaller2 does.