-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
twine: command not found #115
Comments
That is super weird. The smoke test that we now have in GHA shows that a broken PATH does not influence this. I wonder if you could try to shed some light by adding env:
DEBUG: true to the corresponding step. It could also be useful to verify that this does not happen if the action is invoked in a dedicated job that only downloads the artifacts before calling it. |
I'm also seeing this error:
Logs: https://github.com/woodruffw/abi3info/actions/runs/3634987726/jobs/6133656272 |
/app/twine-upload.sh: line 50: twine: command not found |
My action uses the artifacts from a previous step, so it shouldn't be that: - name: deps
run: python -m pip install -U setuptools build wheel
- name: build
run: python -m build
- name: publish
uses: pypa/gh-action-pypi-publish@v1.6.3
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- name: sign
uses: sigstore/gh-action-sigstore-python@v0.1.0
with:
inputs: ./dist/*.tar.gz ./dist/*.whl
release-signing-artifacts: true I'll try a debug run in a moment. |
I was wrong: it does fail — https://github.com/pypa/gh-action-pypi-publish/actions/runs/3634959022. |
Logs: https://github.com/woodruffw/abi3info/actions/runs/3635033169/jobs/6133748800 In particular:
|
🤦♂️ looks like it's the same problem but with |
It's reproducible locally via |
Alright... the CI passes with the hotfix: https://github.com/pypa/gh-action-pypi-publish/actions/runs/3635075803. |
Thanks! ❤️ |
Filing separately from #112 , since the $PATH issues outlined there seem separate from what I'm experiencing.
Version: e71a4a4
Example failure:
https://github.com/foxglove/mcap/actions/runs/3634377846/jobs/6132519798#step:11:20
Action configuration:
https://github.com/foxglove/mcap/blob/0b5fcf170aa8cb265a38fa2ffc03cb9b53fc131c/.github/workflows/ci.yml#L256:L278
The text was updated successfully, but these errors were encountered: