Skip to content

Commit

Permalink
website gha.md: write LIMA_VERSION to $GITHUB_ENV
Browse files Browse the repository at this point in the history
Fixes the `cache` action which was resolving `${{ env.LIMA_VERSION }}`
to an empty string.

Signed-off-by: Sean Gilligan <[email protected]>
  • Loading branch information
msgilligan committed Jan 28, 2025
1 parent 07f091e commit aa3adaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/content/en/docs/examples/gha.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa3adaf

Please sign in to comment.