-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
v1.12 still failing with error similar to #291 #300
Comments
Confirm 1.12.2 still fails for my nested composite action. |
@sroet have you tried checking the contents of Also, |
I'm getting the same issue for some reason.
|
Confirmed |
Hey @webknjaz, thanks for looking into this! To repeat: we are running this on self-hosted runners inside a rootless docker, using the continuumio/miniconda3 image. Now for That directory exists on the host system of the runner, but looking at this line of the setup, specifically:
it seems to get mounted at I don't know enough about creating actions to know if this is a bug in the Runner software or if these variables that are not meant to be used inside actions after the container creation |
Yeah, I understand, but can you check what's actually on dist in the runner host and within container (just add some recursive |
@webknjaz, started a debug workflow in SBC-Utrecht/pytom-match-pick#241. Should we move any back and forth discussion about what folders / variables you want to check to there? |
@webknjaz this is a known issue, the workaround seems to be using |
Temp revert to old version, cf. pypa/gh-action-pypi-publish#300
Temp revert to old version, cf. pypa/gh-action-pypi-publish#300
Temp revert to old version, cf. pypa/gh-action-pypi-publish#300
To report back to here; For my project however, I decided to restructure my release workflow to follow to current best practices around not having the In general; the workflow now has 4 jobs each depending on the previous one to succeed, with the type of runner in
I am fine closing this issue, but maybe it is nice to keep open until a decision has been made on #304 |
This is broken on github actions runners that use containers. Using release/v1.11 as a workaround. |
@sroet I wanted to comment on this point. This is not directly related to the action, but I have an opinion to share. Relying on TestPyPI may be dangerous since the project owners are not the same as on PyPI — it's easy to fall a victim of a dependency confusion / poisoning when somebody registers a project with a name of one of your transitive deps. Another bit is that due to caching in PyPI's CDN, the newly published dist might not be available immediately, and it may take 10 minutes for the resolver to start “seeing” it. |
So, I've recorded this as unsupported in README: https://github.com/marketplace/actions/pypi-publish#Non-goals. I'm going to close this issue with understanding that the PR remains open in case @sroet gets to it, and we'll decide whether to merge it separately. |
Dear developer,
Since the release of 1.12, our (self-hosted, rootless docker) workflow started failing with:
/opt/conda/bin/python3: can't open file '/home/githubrunner/actions-runner/_work/_actions/pypa/gh-action-pypi-publish/release/v1.12/create-docker-action.py': [Errno 2] No such file or directory
Which seems similar to #291 (the error), but wasn't fixed with the release of
1.12.2
Here's the failing workflow run
https://github.com/SBC-Utrecht/pytom-match-pick/actions/runs/11778522196/job/32805113391#step:7:58
Please let me know if we can help tracking down this issue.
xref: SBC-Utrecht/pytom-match-pick#236
The text was updated successfully, but these errors were encountered: