Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use v2 in examples #305

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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).
Loading