fix readme and warning

This commit is contained in:
Maxim Lobanov 2020-06-29 20:46:14 +03:00
parent 1405bc86d4
commit dbbe0bac60
3 changed files with 5 additions and 4 deletions

View file

@ -41,8 +41,9 @@ steps:
- run: npm test
```
Checking latest version of Node.js:
(By default, action searches version locally before downloading it. The flag forces action to check if cached version is not outdated)
Check latest version:
> In basic example, without `check-latest` flag, the action tries to resolve version from local cache firstly and download only if it is not found. Local cache on image is updated with a couple of weeks latency.
`check-latest` flag forces the action to check if the cached version is the latest one. It reduces latency significantly but it is much more likely to incur version downloading.
```yaml
steps:
- uses: actions/checkout@v2