Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support: Hugo version v0.139.5 is not supported #662

Open
3 tasks done
eskopp opened this issue Dec 15, 2024 · 1 comment
Open
3 tasks done

support: Hugo version v0.139.5 is not supported #662

eskopp opened this issue Dec 15, 2024 · 1 comment
Assignees
Labels
support User support

Comments

@eskopp
Copy link

eskopp commented Dec 15, 2024

Checklist

  • I am using the latest version of this action.
  • 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

A new Hugo version was released yesterday. This cannot be installed via the flag latest. The YML code and the log are attached.

YML File

      - name: Install Hugo Extended
        uses: peaceiris/actions-hugo@v3
        with:
          hugo-version: "latest" # <-- error 404
          extended: true

GitHub Action

image

Relevant links

Public repository: https://github.com/eskopp/AdventofChess
YAML config: https://github.com/eskopp/AdventofChess/blob/8f7beae409f36b1ee49eb59f3f416f6dbd92a950/.github/workflows/ilmenauersv.yml
YAML workflow: https://github.com/eskopp/AdventofChess/actions/runs/12333833779/job/34423278132

Relevant log output

Run peaceiris/actions-hugo@v3
  with:
    hugo-version: latest
    extended: true
  env:
    DATETIME: 2024_[1](https://github.com/eskopp/AdventofChess/actions/runs/12333833779/job/34423278132#step:7:1)2_14_23_11
    pythonLocation: /opt/hostedtoolcache/Python/3.1[2](https://github.com/eskopp/AdventofChess/actions/runs/12333833779/job/34423278132#step:7:2).8/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/[3](https://github.com/eskopp/AdventofChess/actions/runs/12333833779/job/34423278132#step:7:3).12.8/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x6[4](https://github.com/eskopp/AdventofChess/actions/runs/12333833779/job/34423278132#step:7:4)
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.8/x64/lib
Hugo version: 0.139.[5](https://github.com/eskopp/AdventofChess/actions/runs/12333833779/job/34423278132#step:7:5)
Error: Action failed with error Unexpected HTTP response: 404

Additional context.

I resolved the issue by simply using an older version of Hugo. It would be great if the latest command worked again in the future! :)

      - name: Install Hugo Extended
        uses: peaceiris/actions-hugo@v3
        with:
          hugo-version: "0.139.2"
          extended: true

See: Hugo Versions

@eskopp eskopp added the support User support label Dec 15, 2024
@peaceiris
Copy link
Owner

Thank you for the report! The cause seems to be the issue mentioned below.
Considering a fallback for such patterns might be a good idea, but for now, it is recommended to specify a particular version instead of using latest.

@eskopp eskopp closed this as completed Dec 16, 2024
@eskopp eskopp reopened this Dec 16, 2024
MrHinsh added a commit to nkdAgility/NKDAgility.com that referenced this issue Dec 16, 2024
MrHinsh added a commit to nkdAgility/NKDAgility.com that referenced this issue Dec 16, 2024
fljdin added a commit to fljdin/fljdin.github.io that referenced this issue Dec 17, 2024
tomowang added a commit to tomowang/hugo-theme-tailwind that referenced this issue Dec 17, 2024
Hugo version: 0.139.5
Error: Action failed with error Unexpected HTTP response: 404
peaceiris/actions-hugo#662
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support User support
Projects
None yet
Development

No branches or pull requests

2 participants