Skip to content

Commit 1ec346d

Browse files
authored
Fix Hugo version in postsubmit workflow to resolve build errors (#503)
Update Hugo version from 0.125.5 to 0.146.0 in postsubmit.yml to match the minimum version requirement specified in hugo.yaml. This resolves the build error where the 'try' function was not defined in the older Hugo version. Fixes the postsubmit GitHub action build failure. Signed-off-by: xuezhaojun <[email protected]>
1 parent 787a3b2 commit 1ec346d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/postsubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Hugo
2020
uses: peaceiris/actions-hugo@v3
2121
with:
22-
hugo-version: '0.125.5'
22+
hugo-version: '0.146.0'
2323
extended: true
2424
- name: Setup Node
2525
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)