From 3cab474316d09439d23f4e3fbe30d32a19e4c8b7 Mon Sep 17 00:00:00 2001 From: John Brunton Date: Tue, 26 Sep 2023 19:51:31 +0100 Subject: [PATCH] docs: use v2 in examples (#305) Signed-off-by: John Brunton --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index eaa485f..5e75ff8 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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: | @@ -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: | @@ -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: | @@ -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 @@ -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).