Skip to content

Commit c161b7b

Browse files
committed
Warn about artifact action behavior for wheel matrices
1 parent ca5efa6 commit c161b7b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,15 @@ build the distribution packages.
107107
First, we'll define the job for building the dist packages of
108108
your project and storing them for later use:
109109

110+
.. warning::
111+
112+
This artifact configuration is intended for a single build job that uploads
113+
one source distribution and one wheel. If you adapt it for several
114+
platform-specific wheel jobs, use separate artifact names for each job and
115+
adjust the download step accordingly. The v4+ artifact actions do not support
116+
multiple jobs uploading to the same artifact; see
117+
`actions/upload-artifact#472`_.
118+
110119
.. literalinclude:: github-actions-ci-cd-sample/publish-to-pypi.yml
111120
:language: yaml
112121
:start-at: jobs:
@@ -228,6 +237,8 @@ sure that your release pipeline remains healthy!
228237
https://github.com/actions/download-artifact
229238
.. _`upload-artifact`:
230239
https://github.com/actions/upload-artifact
240+
.. _`actions/upload-artifact#472`:
241+
https://github.com/actions/upload-artifact/issues/472
231242
.. _Secrets:
232243
https://docs.github.com/en/actions/reference/encrypted-secrets
233244
.. _Trusted Publishing: https://docs.pypi.org/trusted-publishers/

0 commit comments

Comments
 (0)