Skip to content

Commit

Permalink
docs: update v3 to v4 in README
Browse files Browse the repository at this point in the history
  • Loading branch information
my1e5 authored Jul 15, 2024
1 parent baa2600 commit c12aa74
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Example workflow can be found [in this repo](https://github.com/eifinger/pywaze/

```yaml
- name: Install the latest version of rye
uses: eifinger/setup-rye@v3
uses: eifinger/setup-rye@v4
```
### Install latest version
Expand All @@ -30,7 +30,7 @@ If you don't want to wait for a new release of this action you can use use `vers

```yaml
- name: Install a specific version
uses: eifinger/setup-rye@v3
uses: eifinger/setup-rye@v4
with:
version: 'latest'
```
Expand All @@ -41,7 +41,7 @@ You can also specify a specific version of rye

```yaml
- name: Install a specific version
uses: eifinger/setup-rye@v3
uses: eifinger/setup-rye@v4
with:
version: '0.12.0'
```
Expand All @@ -55,7 +55,7 @@ of the rye repo.

```yaml
- name: Install a specific version and validate the checksum
uses: eifinger/setup-rye@v3
uses: eifinger/setup-rye@v4
with:
version: '0.12.0'
checksum: 'c48d850e90649d868d512f60af67c74aa844d80f951fdb38589220662e709da7'
Expand All @@ -72,7 +72,7 @@ You can optionally define a custom cache key prefix.
```yaml
- name: Enable caching and define a custom cache key prefix
id: setup-rye
uses: eifinger/setup-rye@v3
uses: eifinger/setup-rye@v4
with:
enable-cache: true
cache-prefix: 'optional-prefix'
Expand All @@ -94,7 +94,7 @@ relative to the repository root. This is useful for monorepos.

```yaml
- name: Enable caching and define a working directory
uses: eifinger/setup-rye@v3
uses: eifinger/setup-rye@v4
with:
enable-cache: true
working-directory: 'path/to/rye/project'
Expand All @@ -107,7 +107,7 @@ This can be useful if you are on a self hosted runner and want to save time and

```yaml
- name: Enable caching and define a custom cache path
uses: eifinger/setup-rye@v3
uses: eifinger/setup-rye@v4
with:
enable-cache: true
cache-local-storage-path: '/path/to/cache'
Expand All @@ -126,7 +126,7 @@ To avoid hitting the error `API rate limit exceeded` you can supply a GitHub tok

```yaml
- name: Install rye and supply a GitHub token
uses: eifinger/setup-rye@v3
uses: eifinger/setup-rye@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
```
Expand Down

0 comments on commit c12aa74

Please sign in to comment.