Skip to content

Commit c9d0b69

Browse files
authored
Merge pull request pypa#2040 from Herrtian/warn-artifact-v4
Warn about artifact action behavior for wheel matrices
2 parents ca5efa6 + abde967 commit c9d0b69

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ 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+
.. tip::
111+
112+
If you adapt this workflow to build multiple platform-specific wheels, use
113+
uniquely named artifacts for each build job and adjust the download step
114+
accordingly. The `cibuildwheel GitHub Actions examples`_ show a fuller
115+
wheel matrix layout.
116+
110117
.. literalinclude:: github-actions-ci-cd-sample/publish-to-pypi.yml
111118
:language: yaml
112119
:start-at: jobs:
@@ -231,3 +238,5 @@ sure that your release pipeline remains healthy!
231238
.. _Secrets:
232239
https://docs.github.com/en/actions/reference/encrypted-secrets
233240
.. _Trusted Publishing: https://docs.pypi.org/trusted-publishers/
241+
.. _`cibuildwheel GitHub Actions examples`:
242+
https://cibuildwheel.pypa.io/en/latest/ci-services/#github-actions

0 commit comments

Comments
 (0)