From 0711ba3d7808574133d713a0d92d2941be03a350 Mon Sep 17 00:00:00 2001 From: valery1707 Date: Wed, 19 Oct 2022 13:43:26 +0300 Subject: [PATCH] Fix link to documentation about `shell` (#105) * Fix link to documentation about `shell` * Actualize documentation links --- .github/ISSUE_TEMPLATE/bug-report.md | 2 +- README.md | 4 ++-- dist/index.js | 2 +- src/index.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 709fe53..42c3d8d 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -16,4 +16,4 @@ A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. **Logs** -Enable [debug logging](https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/enabling-debug-logging#enabling-step-debug-logging) then attach the [raw logs](https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/using-workflow-run-logs#downloading-logs) (specifically the raw output of this action). +Enable [debug logging](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging) then attach the [raw logs](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs#downloading-logs) (specifically the raw output of this action). diff --git a/README.md b/README.md index 5539f45..bb84090 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Retries an Action step on failure or timeout. This is currently intended to repl ### `shell` -**Optional** Shell to use to execute `command`. Defaults to `powershell` on Windows, `bash` otherwise. Supports bash, python, pwsh, sh, cmd, and powershell per [docs](https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell) +**Optional** Shell to use to execute `command`. Defaults to `powershell` on Windows, `bash` otherwise. Supports bash, python, pwsh, sh, cmd, and powershell per [docs](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell) ### `polling_interval_seconds` @@ -156,7 +156,7 @@ with: ```yaml - uses: nick-fields/retry@v2 id: retry - # see https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error + # see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error continue-on-error: true with: timeout_seconds: 15 diff --git a/dist/index.js b/dist/index.js index 0534dd8..4453af1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -971,7 +971,7 @@ function getExecutable(inputs) { break; } default: { - throw new Error("Shell ".concat(inputs.shell, " not supported. See https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell for supported shells")); + throw new Error("Shell ".concat(inputs.shell, " not supported. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell for supported shells")); } } return executable; diff --git a/src/index.ts b/src/index.ts index 665c041..be0989b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -44,7 +44,7 @@ function getExecutable(inputs: Inputs): string { } default: { throw new Error( - `Shell ${inputs.shell} not supported. See https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell for supported shells` + `Shell ${inputs.shell} not supported. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell for supported shells` ); } }