Skip to content

Commit

Permalink
docs: use v2 in examples (#305)
Browse files Browse the repository at this point in the history
Signed-off-by: John Brunton <[email protected]>
  • Loading branch information
jbrunton authored Sep 26, 2023
1 parent a173dc9 commit 3cab474
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ By default, installs latest versions of `ytt`, `kbld`, `kapp`, `kwt`, `imgpkg`,

```yaml
steps:
- uses: carvel-dev/setup-action@v1
- uses: carvel-dev/setup-action@v2
- run: |
ytt version
kbld version
Expand All @@ -23,7 +23,7 @@ steps:

```yaml
steps:
- uses: carvel-dev/setup-action@v1
- uses: carvel-dev/setup-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: |
Expand All @@ -35,7 +35,7 @@ To install only specific apps:

```yaml
steps:
- uses: carvel-dev/setup-action@v1
- uses: carvel-dev/setup-action@v2
with:
only: ytt, kbld
- run: |
Expand All @@ -47,7 +47,7 @@ To exclude specific apps:

```yaml
steps:
- uses: carvel-dev/setup-action@v1
- uses: carvel-dev/setup-action@v2
with:
exclude: kwt, vendir
- run: |
Expand All @@ -59,7 +59,7 @@ To use a specific version of an app:

```yaml
steps:
- uses: carvel-dev/setup-action@v1
- uses: carvel-dev/setup-action@v2
with:
only: ytt, kbld
kbld: v0.28.0
Expand All @@ -68,6 +68,10 @@ steps:
kbld version
```

## Node version support

Version `v2` requires a Node 20 runner. If you're using older self-hosted runners, you can still use `v1` for Node 16 support.

## Development

See [DEVELOPMENT](https://github.com/carvel-dev/setup-action/blob/develop/DEVELOPMENT.md).

0 comments on commit 3cab474

Please sign in to comment.