Skip to content

Commit

Permalink
Update build_wheels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
borisbolliet authored Sep 28, 2024
1 parent 5c8641e commit 20187e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,21 @@ jobs:
uses: actions/download-artifact@v4
with:
name: wheels-and-sdist-${{ matrix.os }}-${{ matrix.python-version }}
path: wheels-and-sdist-${{ matrix.os }}-${{ matrix.python-version }}


- name: Install dependencies for uploading
run: python -m pip install -U pip twine

- name: Upload distributions to PyPI
run: |
ls
ls -R wheels-and-sdist-${{ matrix.os }}-${{ matrix.python-version }}
# mkdir -p wheelhouse dist
# mv wheels-and-sdist--${{ matrix.os }}-${{ matrix.python-version }}/wheelhouse/* wheelhouse/
mv wheels-and-sdist--${{ matrix.os }}-${{ matrix.python-version }}/dist/* dist/
# mv wheels-and-sdist--${{ matrix.os }}-${{ matrix.python-version }}/dist/* dist/
# twine upload wheelhouse/* dist/*
twine upload dist/*
# twine upload dist/*
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 20187e3

Please sign in to comment.