ci(build): add labels to Hugo matrix for better job names

Signed-off-by: Sped0n <hi@sped0n.com>
This commit is contained in:
Sped0n
2025-11-25 19:55:38 +08:00
committed by Ryan
parent 19f54640f9
commit 8926caed69

View File

@@ -36,13 +36,18 @@ jobs:
build:
timeout-minutes: 30
runs-on: ubuntu-latest
name: Build (Hugo ${{ matrix.hugo-version }})
name: Build (Hugo ${{ matrix.hugo-label }})
needs: [filter]
if: |
github.event.repository.fork == false
strategy:
matrix:
hugo-version: ['latest', '0.114.0']
include:
- hugo-version: latest
hugo-label: Latest
- hugo-version: '0.114.0'
hugo-label: 'v0.114.0'
steps:
- name: Set current date as env variable
run: |