Skip to content

Commit

Permalink
[FX-NULL] Rename max attempts parameter in yarn-install (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashuk authored Jan 5, 2024
1 parent 21fb6e1 commit 27cad6c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-actors-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'davinci-github-actions': patch
---

- rename max attempts parameter in `yarn-install`
2 changes: 1 addition & 1 deletion yarn-install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion yarn-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27cad6c

Please sign in to comment.