mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 14:40:48 +03:00
Add publishing wheels on mac and windows
This commit is contained in:
parent
3fb5f134ee
commit
7db553a355
24
.github/workflows/publishing.yml
vendored
24
.github/workflows/publishing.yml
vendored
|
@ -23,9 +23,12 @@ jobs:
|
||||||
- run: pip install twine
|
- run: pip install twine
|
||||||
- run: twine upload dist/*
|
- run: twine upload dist/*
|
||||||
|
|
||||||
publish-linux-wheels-x64:
|
publish-wheels:
|
||||||
name: Publish Linux wheels (x64)
|
name: Publish Linux wheels (x64)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
env:
|
env:
|
||||||
TWINE_USERNAME: __token__
|
TWINE_USERNAME: __token__
|
||||||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||||||
|
@ -35,7 +38,18 @@ jobs:
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
- run: pip install cibuildwheel==1.6.3
|
- run: pip install cibuildwheel==1.8.0
|
||||||
- run: cibuildwheel --output-dir wheelhouse
|
- run: cibuildwheel --output-dir wheelhouse
|
||||||
- run: pip install twine
|
- uses: actions/upload-artifact@v2
|
||||||
- run: twine upload wheelhouse/*.whl
|
with:
|
||||||
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
|
# - services: docker
|
||||||
|
# arch: arm64
|
||||||
|
# if: tag IS present
|
||||||
|
# env: TWINE_USERNAME=__token__
|
||||||
|
# install: python3 -m pip install cibuildwheel==1.6.3
|
||||||
|
# script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
|
# after_success:
|
||||||
|
# - python3 -m pip install --upgrade --upgrade-strategy eager twine
|
||||||
|
# - python3 -m twine upload wheelhouse/*.whl
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""Top-level package."""
|
"""Top-level package."""
|
||||||
|
|
||||||
__version__ = '4.10.3dev1'
|
__version__ = '4.10.3dev2'
|
||||||
"""Version number.
|
"""Version number.
|
||||||
|
|
||||||
:type: str
|
:type: str
|
||||||
|
|
Loading…
Reference in New Issue
Block a user