Skip to content

Post setup python → Error: unexpected end of JSON input #633

Description

@alunduil

Description:

In alunduil/template.py, I have a Publish to PyPi action that consistently fails on the "Post setup python" step. The output is: "Error: Unexpected end of JSON input"

Action version:

actions/setup-python@v4

Platform:

  • [ x ] Ubuntu
  • macOS
  • Windows

Runner type:

  • [ x ] Hosted
  • Self-hosted

Tools version:

poetry 1.4.1
Python 3.10.6

Repro steps:

My workflow file is public and available at https://github.com/alunduil/template.py/actions/runs/4520441086/workflow

Expected behavior:

I expect this step to finish without errors as the workflow is otherwise successful.

Actual behavior:

Erroring in post-processing indicates the run fails when it has already accomplished its goals.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions