Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexellis authored May 10, 2024
1 parent 4c46acb commit 7b32b13
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,20 @@ inputs:
runs:
using: 'composite'
steps:
- name: Install k3sup
- if: inputs.cache == 'true'
id: cache-k3sup
uses: actions/cache@v4
with:
path: |
/usr/local/bin/k3sup
key: ${{ runner.os }}-${{ runner.arch }}-k3sup

- if: ${{ steps.cache-k3sup.outputs.cache-hit != 'true' }}
name: Install k3sup
shell: bash
run: |
curl -sLS https://get.k3sup.dev | sudo -E sh
- name: Install k3s and merge into kubeconfig
shell: bash
run: |
Expand Down

0 comments on commit 7b32b13

Please sign in to comment.