docs icon indicating copy to clipboard operation
docs copied to clipboard

`build` needs to be installed in advance

Open njzjz opened this issue 1 year ago • 3 comments

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-pypi#updating-your-github-actions-workflow

What part(s) of the article would you like to see updated?

This workflow uses python -m build to build packages, but build is not pre-installed in the runner image. One must install build using pip install build, or combine installation and running into pipx run build.

https://github.com/github/docs/blob/a107d854397cc1a346fa011fd1d5dc0a573a2d3f/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-pypi.md#L61-L77

Additional information

No response

njzjz avatar May 20 '24 04:05 njzjz