diff --git a/website/content/en/docs/examples/gha.md b/website/content/en/docs/examples/gha.md index cb1da278dc3..52d88667d37 100644 --- a/website/content/en/docs/examples/gha.md +++ b/website/content/en/docs/examples/gha.md @@ -26,6 +26,8 @@ on: jobs: fedora: runs-on: ubuntu-24.04 + env: + LIMA_VERSION: "v1.0.4" steps: - name: Check out code uses: actions/checkout@v4 @@ -44,7 +46,6 @@ jobs: GITHUB_TOKEN: ${{ github.token }} # required by `gh attestation verify` run: | set -eux - LIMA_VERSION=$(curl -fsSL https://api.github.com/repos/lima-vm/lima/releases/latest | jq -r .tag_name) FILE="lima-${LIMA_VERSION:1}-Linux-x86_64.tar.gz" curl -fOSL https://github.com/lima-vm/lima/releases/download/${LIMA_VERSION}/${FILE} gh attestation verify --owner=lima-vm "${FILE}"