From 27cad6c7d5e40bcde6ef94c27a7feb4b7ab8d252 Mon Sep 17 00:00:00 2001 From: Aleksandr Shumilov Date: Fri, 5 Jan 2024 13:10:41 +0100 Subject: [PATCH] [FX-NULL] Rename max attempts parameter in yarn-install (#257) --- .changeset/nine-actors-camp.md | 5 +++++ yarn-install/README.md | 2 +- yarn-install/action.yml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/nine-actors-camp.md diff --git a/.changeset/nine-actors-camp.md b/.changeset/nine-actors-camp.md new file mode 100644 index 00000000..0ef1c40f --- /dev/null +++ b/.changeset/nine-actors-camp.md @@ -0,0 +1,5 @@ +--- +'davinci-github-actions': patch +--- + +- rename max attempts parameter in `yarn-install` diff --git a/yarn-install/README.md b/yarn-install/README.md index d617bfbd..cbb77d70 100644 --- a/yarn-install/README.md +++ b/yarn-install/README.md @@ -17,7 +17,7 @@ The list of arguments, that are used in GH Action: | `path` | string | | . | Relative path under $GITHUB\_WORKSPACE where to run `yarn install` command | | `checkout-token` | string | | | Repository checkout access token `GITHUB_TOKEN`. Required for self-hosted runners | | `npm-gar-token` | string | | | Repository npm Artifact Registry access token `NPM_GAR_TOKEN`. Required when using self-hosted runners with npm in GAR (Google Artifact Registry, the npm registry works as a proxy-cache, downloading and storing the public npm packages) | -| `maxAttempts` | string | | 1 | How many times to retry installing. This is specially useful if the building of packages might fail because of network connections | +| `max-attempts` | string | | 1 | How many times to retry installing. This is specially useful if the building of packages might fail because of network connections | ### Outputs diff --git a/yarn-install/action.yml b/yarn-install/action.yml index 1f905543..140fa778 100644 --- a/yarn-install/action.yml +++ b/yarn-install/action.yml @@ -18,7 +18,7 @@ inputs: npm-gar-token: description: Repository npm Artifact Registry access token `NPM_GAR_TOKEN`. Required when using self-hosted runners with npm in GAR (Google Artifact Registry, the npm registry works as a proxy-cache, downloading and storing the public npm packages) required: false - maxAttempts: + max-attempts: description: How many times to retry installing. This is specially useful if the building of packages might fail because of network connections default: "1" required: false