-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
950b650
commit fdfe6b5
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
if: matrix.runs-on == 'windows-latest' || (matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11') || (matrix.runs-on == 'macos-latest') | ||
if: matrix.runs-on == 'windows-latest' || (matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.10') || (matrix.runs-on == 'macos-latest') | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install --upgrade setuptools wheel twine | ||
|
@@ -38,20 +38,20 @@ jobs: | |
run: | | ||
python3 -m twine upload dist/*.whl | ||
- name: Publish source | ||
if: matrix.runs-on == 'windows-latest' && matrix.python-version == '3.11' | ||
if: matrix.runs-on == 'windows-latest' && matrix.python-version == '3.10' | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
run: | | ||
python3 -m twine upload dist/*.tar.gz | ||
- name: Build manylinux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.10' | ||
uses: RalfG/[email protected]_x86_64 | ||
with: | ||
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' | ||
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' | ||
build-requirements: 'pip cython numpy setuptools wheel twine' | ||
- name: Publish manylinux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.10' | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
|