diff --git a/README.md b/README.md index b4e2b93..41437bf 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Specific versions for the commands can be setup by adding inputs parameters like runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: yokawasa/action-setup-kube-tools@v0.11.1 + - uses: yokawasa/action-setup-kube-tools@v0.11.2 with: kubectl: '1.25' kustomize: '5.0.0' @@ -82,7 +82,7 @@ Default versions for the commands will be setup if you don't give any inputs lik runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: yokawasa/action-setup-kube-tools@v0.11.1 + - uses: yokawasa/action-setup-kube-tools@v0.11.2 - run: | kubectl version --client kustomize version @@ -103,7 +103,7 @@ By specifying setup-tools you can choose which tools the action setup. Supported runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: yokawasa/action-setup-kube-tools@v0.11.1 + - uses: yokawasa/action-setup-kube-tools@v0.11.2 with: setup-tools: | kubectl @@ -127,7 +127,7 @@ By specifying arch-type you can choose the processor architecture type of the to test: steps: - uses: actions/checkout@v4 - - uses: yokawasa/action-setup-kube-tools@v0.11.1 + - uses: yokawasa/action-setup-kube-tools@v0.11.2 with: arch-type: 'arm64' setup-tools: | @@ -163,7 +163,7 @@ Finally push the results ``` git add dist git commit -a -m "prod dependencies" -git push origin releases/v0.11.1 +git push origin releases/v0.11.2 ``` ## References diff --git a/dist/index.js b/dist/index.js index 17b03b2..08fb456 100644 --- a/dist/index.js +++ b/dist/index.js @@ -143,8 +143,7 @@ function getDownloadURL(commandName, version, archType) { let urlFormat = ''; switch (commandName) { case 'kubectl': - urlFormat = - 'https://dl.k8s.io/release/v{ver}/bin/linux/{arch}/kubectl'; + urlFormat = 'https://dl.k8s.io/release/v{ver}/bin/linux/{arch}/kubectl'; break; case 'kustomize': urlFormat = diff --git a/package-lock.json b/package-lock.json index f9daad6..ee3b89b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "action-setup-kube-tools", - "version": "0.11.0", + "version": "0.11.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "action-setup-kube-tools", - "version": "0.11.0", + "version": "0.11.2", "license": "MIT", "dependencies": { "@actions/core": "^1.10.0", diff --git a/package.json b/package.json index 318497f..d962058 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "action-setup-kube-tools", - "version": "0.11.1", + "version": "0.11.2", "private": true, "description": "Github Action that install Kubernetes tools (kubectl, kustomize, helm, kubeconform, conftest, yq, etc.) and cache them on the runner", "main": "lib/main.js",