-
Notifications
You must be signed in to change notification settings - Fork 522
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
Post setup python → Error: unexpected end of JSON input #633
Comments
Hello @alunduil |
Hello @alunduil. Could you please try to specify |
As requested in actions/setup-python#633 (comment), I'm adding the python version specifier in this workflow. Hopefully this will resolve or otherwise change this workflows result.
As requested in actions/setup-python#633 (comment), I'm adding the python version specifier in this workflow. Hopefully this will resolve or otherwise change this workflows result.
@dmitry-shibanov, it looks like the setting resolves my issue, but I'd prefer to use the defaults: https://github.com/alunduil/template.py/actions/runs/4546269063 . I just wanted to let you know that I'll leave this here for you to decide if it's worth investing more time in. Thanks for the quick responses! |
Hello @alunduil. We released a new version of the action with changes to throw a warning if cache paths can't be found with possible solutions to the error. For now I'm going to close the issue. |
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:
Runner type:
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.
The text was updated successfully, but these errors were encountered: