Skip to content

Commit

Permalink
Clarify upload/download actions and bump versions
Browse files Browse the repository at this point in the history
Not using latest setup-python@v4 as it wants explicit version,
making scripts too verbose, so sticking to `setup-python@v3`
that allows to use default Python

Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>
  • Loading branch information
abitrolly and mayeut committed Jun 18, 2022
1 parent ac0b8ac commit 106b399
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/github-deploy.yml
Expand Up @@ -26,6 +26,7 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: wheels
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -39,6 +40,7 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: wheels
path: dist/*.tar.gz

upload_pypi:
Expand All @@ -51,7 +53,8 @@ jobs:
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
name: wheels
# unpack all artifacts into dist/
path: dist

- uses: pypa/gh-action-pypi-publish@v1.5.0
Expand Down

0 comments on commit 106b399

Please sign in to comment.