support: Fails to download Hugo on Windows runners
bglw opened this issue · 2 comments
bglw commented
Checklist
- #638
- I have read the latest README and followed the instructions.
- I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.
Describe your question
Hugo fails to install on Windows via this action, as the Windows release was renamed from Windows-64bit
to windows-amd64
(See recent releases).
Relevant links
No relevant public link, but the action will hard error downloading any recent version of Hugo on Windows.
Relevant log output
Run peaceiris/actions-hugo@v2
with:
hugo-version: latest
extended: true
env:
cwd: ./javascript-modules
Hugo version: 0.118.2
Error: Action failed with error Unexpected HTTP response: 404
Additional context.
N/A
zjwhitehead commented
I'm getting the same issue. I wonder what changed
frichtarik commented
this should fix it #643
they changed both format of architecture (everything lowercase, amd64 instead of 64Bit) and format of os names (everything lowercase, darwin instead of MacOS)
strangely they left Linux-64Bit still amongst the assets, probably for some other projects that use legacy naming, i wonder when that will dissapear
change in archive naming was introduced in v0.103 https://github.com/gohugoio/hugo/releases/tag/v0.103.0