Skip to content

Commit

Permalink
Merge pull request #64 from yokawasa/v0.11.2
Browse files Browse the repository at this point in the history
v0.11.2 release
  • Loading branch information
yokawasa authored Nov 3, 2024
2 parents 95a279b + 25e4c6f commit 9e25a42
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].1
- uses: yokawasa/[email protected].2
with:
kubectl: '1.25'
kustomize: '5.0.0'
Expand Down Expand Up @@ -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/[email protected].1
- uses: yokawasa/[email protected].2
- run: |
kubectl version --client
kustomize version
Expand All @@ -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/[email protected].1
- uses: yokawasa/[email protected].2
with:
setup-tools: |
kubectl
Expand All @@ -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/[email protected].1
- uses: yokawasa/[email protected].2
with:
arch-type: 'arm64'
setup-tools: |
Expand Down Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 9e25a42

Please sign in to comment.