Skip to content

Commit

Permalink
Publish wheels as artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
heerener committed Dec 6, 2024
1 parent 5fd12eb commit 758918f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,20 @@ jobs:
cd $GITHUB_WORKSPACE
pip3 install tox
DIST_FILE=`ls dist/*whl` && tox --installpkg=$DIST_FILE -e ${{ matrix.python_version }}
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.python_version }}-${{ strategy.job-index }}
path: ./dist/*.whl
pypi-publish:
runs-on: ubuntu-22.04
# IMPORTANT: this permission is mandatory for trusted publishing
permissions:
id-token: write
steps:
- name: Download artifacts produced by the Build Wheel job
- name: Download artifacts produced by the wheel job
uses: actions/download-artifact@v4
with:
name: dist
name: wheels*
path: dist/

- name: Display structure of downloaded files
Expand Down

0 comments on commit 758918f

Please sign in to comment.