diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0082cd..234ad3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - uses: aboutbits/github-actions-base/git-setup@v2 diff --git a/readme.md b/readme.md index 7bf9804..1c7dcaa 100644 --- a/readme.md +++ b/readme.md @@ -20,11 +20,14 @@ Setup kubectl and Helm using kubeconfig file. The following inputs can be used as `step.with` keys: -| Name | Required/Default | Description | -|----------------|------------------|-----------------------------| -| `kubeconfig` | required | The kubeconfig file content | -| `kube-version` | `v1.33.1` | The version of kubectl | -| `helm-version` | `v3.17.3` | The version of Helm | +| Name | Required/Default | Description | +|-------------------|------------------|-----------------------------| +| `kubeconfig` | required | The kubeconfig file content | +| `kubectl-version` | `v1.36` | The version of kubectl | +| `helm-version` | `v3.21.4` | The version of Helm | + +The `kubectl-version` input accepts a `major.minor` value, such as `v1.36`. +The action then installs the latest patch of that minor version. The `helm-version` input needs a full version. ### Deploy to Kubernetes using kubectl diff --git a/setup-kubectl-and-helm/action.yml b/setup-kubectl-and-helm/action.yml index f708ec4..b8b4449 100644 --- a/setup-kubectl-and-helm/action.yml +++ b/setup-kubectl-and-helm/action.yml @@ -8,17 +8,17 @@ inputs: kubectl-version: description: 'kubectl version' required: false - default: 'v1.33.1' + default: 'v1.36' helm-version: description: 'Helm version' required: false - default: 'v3.17.3' + default: 'v3.21.4' runs: using: "composite" steps: - name: Setup kubectl - uses: azure/setup-kubectl@v4 + uses: azure/setup-kubectl@v5 with: version: ${{ inputs.kubectl-version }} - name: Setup kubeconfig file @@ -28,6 +28,6 @@ runs: chmod 600 ~/.kube/config shell: bash - name: Setup Helm - uses: azure/setup-helm@v4 + uses: azure/setup-helm@v5 with: version: ${{ inputs.helm-version }}