File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3030 runs-on : ubuntu-latest
3131 env :
3232 HUGO_VERSION : 0.145.0
33- HUGO_CACHE_DIR : /tmp/hugo_cache
33+ HUGO_CACHEDIR : /tmp/hugo_cache
3434 HUGO_ENVIRONMENT : production
3535 steps :
3636 - name : Setup hugo
4949 - name : Setup hugo cache
5050 uses : actions/cache@v4
5151 with :
52- path : ${{ env.HUGO_CACHEDIR }}
53- key : ${{ runner.os }}-hugomod-${{ hashFiles('**/ config.toml') }}
52+ path : " ${{ env.HUGO_CACHEDIR }}"
53+ key : ${{ runner.os }}-hugomod-${{ hashFiles('config.toml') }}
5454 restore-keys : |
5555 ${{ runner.os }}-hugomod-
5656
6666 - name : Build with Hugo
6767 env :
6868 # For maximum backward compatibility with Hugo modules
69- HUGO_CACHEDIR : ${{ env.HUGO_CACHE_DIR }}
69+ HUGO_CACHEDIR : ${{ env.HUGO_CACHEDIR }}
7070 HUGO_ENVIRONMENT : ${{ env.HUGO_ENVIRONMENT }}
7171 run : |
7272 hugo \
You can’t perform that action at this time.
0 commit comments