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

After this update, my github actions are broken with below logs #289

Closed
kimdwkimdw opened this issue Nov 6, 2024 · 5 comments · Fixed by #294
Closed

After this update, my github actions are broken with below logs #289

kimdwkimdw opened this issue Nov 6, 2024 · 5 comments · Fixed by #294

Comments

@kimdwkimdw
Copy link

After this update, my github actions are broken with below logs

/usr/bin/git sparse-checkout disable
/usr/bin/git config --local --unset-all extensions.worktreeConfig
Checking out the ref
/usr/bin/git log -1 --format=%H
61da13deb5f5124fb15361[94](https://github.com/my-repo/actions/runs/11699412134/job/32581371498#step:4:105)f82ed3d9bbc7e8f3
Run # Create Docker container action
/mnt/data/action-runner/_work/_temp/3b[95](https://github.com/my-repo/actions/runs/11699412134/job/32581371498#step:4:106)2215-1ada-40f7-8021-896c7e395c22.sh: line 2: python: command not found

Originally posted by @kimdwkimdw in #287 (comment)

@webknjaz
Copy link
Member

webknjaz commented Nov 6, 2024

@kimdwkimdw thanks for the report, but it's not actionable in this form. I need to see the timestamps in the log and the surrounding environment. Ideally, a link to the workflow run.

@webknjaz
Copy link
Member

webknjaz commented Nov 6, 2024

cc @br3ndonland

@webknjaz
Copy link
Member

webknjaz commented Nov 6, 2024

All GitHub Runners are shipped with Python pre-installed. The only case I can think of that's not, is self-hosted runners, which seems to be consistent with the mention of the unusual tmp path mentioned in the log — /mnt/data/action-runner/_work/_temp/.

It looks like the failing invocation is https://github.com/pypa/gh-action-pypi-publish/blob/0d02f37/action.yml#L142C7-L142C13.

webknjaz added a commit to webknjaz/pypa--gh-action-pypi-publish that referenced this issue Nov 6, 2024
This is not usually the case for GitHub-hosted Runners but it might
happen with self-hosted runners.

Fixes pypa#289.
webknjaz added a commit to webknjaz/pypa--gh-action-pypi-publish that referenced this issue Nov 6, 2024
This is not usually the case for GitHub-hosted Runners but it might
happen with self-hosted runners.

Fixes pypa#289.
webknjaz added a commit to webknjaz/pypa--gh-action-pypi-publish that referenced this issue Nov 6, 2024
This is not usually the case for GitHub-hosted Runners but it might
happen with self-hosted runners.

Fixes pypa#289.
@webknjaz
Copy link
Member

webknjaz commented Nov 6, 2024

@kimdwkimdw please try pinning to pypa/gh-action-pypi-publish@unstable/v1 or pypa/gh-action-pypi-publish@a8b73a6d88e1c2ae7ee7bf90b8ebba800a10f203 and report back. These contain the fix from #294 that I haven't yet tagged.

@webknjaz
Copy link
Member

webknjaz commented Nov 6, 2024

The fix is now released as a part of v1.12.1: #296.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants