Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
5a325d0273
commit
0265c44006
1 changed files with 10 additions and 0 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue