ci: build with multiple Hugo versions and update caches

Add matrix strategy for 'latest' and '0.114.0' in build job. Update
pnpm and Hugo cache keys for better reliability. Push artifacts only
for 'latest' version. Add [skip ci] to format commit message.

Signed-off-by: Sped0n <hi@sped0n.com>
This commit is contained in:
Sped0n
2025-11-12 02:32:54 +08:00
committed by Ryan
parent 48eaa9d95b
commit ba46f52d55
2 changed files with 16 additions and 8 deletions

View File

@@ -54,4 +54,4 @@ jobs:
if: ${{ steps.format.outcome == 'success' }}
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'ci: format code'
commit_message: 'ci: format code [skip ci]'