From 0ef87aa34fb69f8bebae9726cff706ba0d32e261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Thu, 24 Oct 2024 12:48:18 +0200 Subject: [PATCH] Upgrade the version of Hugo used in CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise the `relref` in the changelogs does not work. Version 0.124.1 is the last version of Hugo to work with the current version of the docsy theme. Signed-off-by: Kévin Commaille --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8db6359f..d67cd441 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,9 @@ name: "Spec" + +env: + # Cannot build the spec with Hugo 0.125.0 and docsy < 0.10.0 because of https://github.com/google/docsy/issues/1930 + HUGO_VERSION: 0.124.1 + on: push: branches: @@ -193,7 +198,7 @@ jobs: - name: "➕ Setup Hugo" uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0 with: - hugo-version: '0.117.0' + hugo-version: ${{ env.HUGO_VERSION }} extended: true - name: "📥 Source checkout" uses: actions/checkout@v4 @@ -270,8 +275,7 @@ jobs: - name: "➕ Setup Hugo" uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0 with: - # Cannot build the spec with Hugo 0.125.0 because of https://github.com/google/docsy/issues/1930 - hugo-version: '0.124.1' + hugo-version: ${{ env.HUGO_VERSION }} extended: true - name: "📥 Source checkout" uses: actions/checkout@v4