From 0265c44006a214348b9e016e1b4d2ea021a93670 Mon Sep 17 00:00:00 2001 From: Derek Slenk Date: Sun, 29 Jun 2025 22:37:52 -0400 Subject: [PATCH] Update .github/workflows/build.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index feb4067..eafafcd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,8 +19,18 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Cache Hugo modules + uses: actions/cache@v3 + with: + path: .hugo + key: ${{ runner.os }}-hugo-${{ steps.hugo-version.outputs.version }}-${{ hashFiles('**/go.mod') }} + restore-keys: | + ${{ runner.os }}-hugo-${{ steps.hugo-version.outputs.version }} + ${{ runner.os }}-hugo- + - name: Setup Hugo uses: peaceiris/actions-hugo@v3 + id: hugo-version with: hugo-version: 'latest' extended: true