File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
website/content/en/docs/examples Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,16 @@ jobs:
40
40
sudo chown $(whoami) /dev/kvm
41
41
42
42
- name : " Install Lima"
43
+ env :
44
+ GITHUB_TOKEN : ${{ github.token }} # required by `gh attestation verify`
43
45
run : |
44
46
set -eux
45
47
LIMA_VERSION=$(curl -fsSL https://api.github.com/repos/lima-vm/lima/releases/latest | jq -r .tag_name)
46
- curl -fsSL https://github.com/lima-vm/lima/releases/download/${LIMA_VERSION}/lima-${LIMA_VERSION:1}-Linux-x86_64.tar.gz | sudo tar Cxzvf /usr/local -
48
+ FILE="lima-${LIMA_VERSION:1}-Linux-x86_64.tar.gz"
49
+ curl -fOSL https://github.com/lima-vm/lima/releases/download/${LIMA_VERSION}/${FILE}
50
+ gh attestation verify --owner=lima-vm "${FILE}"
51
+ sudo tar Cxzvf /usr/local "${FILE}"
52
+ rm -f "${FILE}"
47
53
48
54
- name : " Cache ~/.cache/lima"
49
55
uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments