From d6c9b3db3cb9aef220f6954d405448277d704b65 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Mon, 13 Jun 2022 20:37:03 +0300 Subject: [PATCH] Clarify upload/download actions and bump versions 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 --- examples/github-deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index e5929fc98..d37746ac5 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -26,6 +26,7 @@ jobs: - uses: actions/upload-artifact@v3 with: + name: wheels path: ./wheelhouse/*.whl build_sdist: @@ -39,6 +40,7 @@ jobs: - uses: actions/upload-artifact@v3 with: + name: wheels path: dist/*.tar.gz upload_pypi: @@ -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