From aa3adaf52f21eeb78375b4bf518c6c1311ebf81e Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Tue, 28 Jan 2025 12:42:31 -0800 Subject: [PATCH] website gha.md: write LIMA_VERSION to $GITHUB_ENV Fixes the `cache` action which was resolving `${{ env.LIMA_VERSION }}` to an empty string. Signed-off-by: Sean Gilligan --- website/content/en/docs/examples/gha.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/content/en/docs/examples/gha.md b/website/content/en/docs/examples/gha.md index cb1da278dc3..91708943f28 100644 --- a/website/content/en/docs/examples/gha.md +++ b/website/content/en/docs/examples/gha.md @@ -50,6 +50,8 @@ jobs: gh attestation verify --owner=lima-vm "${FILE}" sudo tar Cxzvf /usr/local "${FILE}" rm -f "${FILE}" + # Export LIMA_VERSION For the GHA cache key + echo "LIMA_VERSION=${LIMA_VERSION}" >>$GITHUB_ENV - name: "Cache ~/.cache/lima" uses: actions/cache@v4