Skip to content

Commit a75a37a

Browse files
ThoSapclaude
andauthored
Update GitHub Actions to the latest versions (#12)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 1247f98 commit a75a37a

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-24.04
1414
timeout-minutes: 15
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v7
1717
with:
1818
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
1919
- uses: aboutbits/github-actions-base/git-setup@v2

readme.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ Setup kubectl and Helm using kubeconfig file.
2020
2121
The following inputs can be used as `step.with` keys:
2222

23-
| Name | Required/Default | Description |
24-
|----------------|------------------|-----------------------------|
25-
| `kubeconfig` | required | The kubeconfig file content |
26-
| `kube-version` | `v1.33.1` | The version of kubectl |
27-
| `helm-version` | `v3.17.3` | The version of Helm |
23+
| Name | Required/Default | Description |
24+
|-------------------|------------------|-----------------------------|
25+
| `kubeconfig` | required | The kubeconfig file content |
26+
| `kubectl-version` | `v1.36` | The version of kubectl |
27+
| `helm-version` | `v3.21.4` | The version of Helm |
28+
29+
The `kubectl-version` input accepts a `major.minor` value, such as `v1.36`.
30+
The action then installs the latest patch of that minor version. The `helm-version` input needs a full version.
2831

2932
### Deploy to Kubernetes using kubectl
3033

setup-kubectl-and-helm/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ inputs:
88
kubectl-version:
99
description: 'kubectl version'
1010
required: false
11-
default: 'v1.33.1'
11+
default: 'v1.36'
1212
helm-version:
1313
description: 'Helm version'
1414
required: false
15-
default: 'v3.17.3'
15+
default: 'v3.21.4'
1616

1717
runs:
1818
using: "composite"
1919
steps:
2020
- name: Setup kubectl
21-
uses: azure/setup-kubectl@v4
21+
uses: azure/setup-kubectl@v5
2222
with:
2323
version: ${{ inputs.kubectl-version }}
2424
- name: Setup kubeconfig file
@@ -28,6 +28,6 @@ runs:
2828
chmod 600 ~/.kube/config
2929
shell: bash
3030
- name: Setup Helm
31-
uses: azure/setup-helm@v4
31+
uses: azure/setup-helm@v5
3232
with:
3333
version: ${{ inputs.helm-version }}

0 commit comments

Comments
 (0)