Skip to content

Commit

Permalink
build: Add download wheel step in deployment action (GridTools#1771)
Browse files Browse the repository at this point in the history
  • Loading branch information
havogt authored Jan 31, 2024
1 parent 98d353f commit c60293c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/python-package-tests-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit c60293c

Please sign in to comment.