From a76e56d28733e7df190d5ca23281b48aca9f4e4c Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Wed, 28 Apr 2021 22:58:05 -0400 Subject: [PATCH] use v0.2 everywhere --- .github/workflows/use-action.yaml | 6 +++--- README.md | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/use-action.yaml b/.github/workflows/use-action.yaml index 2ec76dd..e46fb00 100644 --- a/.github/workflows/use-action.yaml +++ b/.github/workflows/use-action.yaml @@ -19,18 +19,18 @@ jobs: - uses: actions/checkout@v2 # Minimal publish - - uses: imjasonh/setup-ko@main + - uses: imjasonh/setup-ko@v0.2 - run: ko publish --bare ./ # Install an old release. - - uses: imjasonh/setup-ko@v0.1 + - uses: imjasonh/setup-ko@v0.2 with: version: v0.8.0 - name: Check installed version run: ko version | grep 0.8.0 # Install from tip - - uses: imjasonh/setup-ko@v0.1 + - uses: imjasonh/setup-ko@v0.2 with: version: tip - name: Check installed version (tip) diff --git a/README.md b/README.md index d0c4c53..97cfe5d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ jobs: go-version: 1.15 - uses: actions/checkout@v2 - - uses: imjasonh/setup-ko@v0.1 + - uses: imjasonh/setup-ko@v0.2 - run: ko publish ./ ``` @@ -37,7 +37,7 @@ By default, `imjasonh/setup-ko` installs the latest released version of `ko`. You can select a version with the `version` parameter: ```yaml -- uses: imjasonh/setup-ko@v0.1 +- uses: imjasonh/setup-ko@v0.2 with: version: v0.8.0 ``` @@ -52,7 +52,7 @@ To do this, you need to provide credentials to authorize the push. You can use [encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) to store the authorization token, and pass it to `ko login` before pushing: ``` -- uses: imjasonh/setup-ko@v0.1 +- uses: imjasonh/setup-ko@v0.2 - env: auth_token: ${{ secrets.auth_token }} run: | @@ -85,7 +85,7 @@ jobs: go-version: 1.15 - uses: actions/checkout@v2 - - uses: imjasonh/setup-ko@v0.1 + - uses: imjasonh/setup-ko@v0.2 - run: ko resolve -f config/ > release-${{ github.sha }}.yaml - name: Create Release @@ -110,6 +110,6 @@ jobs: ### A note on versioning -The `@v0.1` in the `uses` statement refers to the version _of the action definition in this repo._ +The `@v0.2` in the `uses` statement refers to the version _of the action definition in this repo._ Regardless of what version of the action definition you use, `imjasonh/setup-ko` will install the latest released version of `ko` unless otherwise specified with `version:`.