From 143b438b03253a5c64049afb88bccb1e16ea4b29 Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Wed, 31 Jan 2024 16:03:18 +0100 Subject: [PATCH] Deploy: Add download wheel step --- .../workflows/python-package-tests-and-deploy.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package-tests-and-deploy.yml b/.github/workflows/python-package-tests-and-deploy.yml index 9b5384718..659acfe40 100644 --- a/.github/workflows/python-package-tests-and-deploy.yml +++ b/.github/workflows/python-package-tests-and-deploy.yml @@ -50,6 +50,11 @@ jobs: permissions: id-token: write steps: + - name: download wheel + uses: actions/download-artifact@v3 + with: + name: gridtools-cpp-wheel + path: .python_package/.nox/.cache/dist - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: @@ -65,11 +70,16 @@ jobs: permissions: id-token: write steps: + - name: download wheel + uses: actions/download-artifact@v3 + with: + name: gridtools-cpp-wheel + path: .python_package/.nox/.cache/dist - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: .python_package/.nox/.cache/dist - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ test-wheel: needs: build