From 6326c4bb157ab0ff78a30d46b46ed0cdef19d5ca Mon Sep 17 00:00:00 2001 From: Jimmi Dyson Date: Tue, 8 Feb 2022 13:54:57 +0000 Subject: [PATCH] build: Checkout LFS files in GitHub actions This fixes broken releases... --- .github/workflows/checks.yml | 5 +++++ .github/workflows/codeql-analysis.yml | 5 +++++ .github/workflows/goreleaser.yml | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 9a2ae773..2a960d77 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -15,6 +15,11 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2 + with: + lfs: true + + - name: Checkout LFS objects + run: git lfs checkout - name: Install asdf and tools uses: asdf-vm/actions/install@v1 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 26368576..5ee10185 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -31,6 +31,11 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + lfs: true + + - name: Checkout LFS objects + run: git lfs checkout # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index da3f1cad..dc762693 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -19,6 +19,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + lfs: true + + - name: Checkout LFS objects + run: git lfs checkout - name: Install asdf and tools uses: asdf-vm/actions/install@v1