From 7db553a355b2c5be2a08b3bee7737b191bdecbdf Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Tue, 26 Jan 2021 08:58:27 -0500 Subject: [PATCH] Add publishing wheels on mac and windows --- .github/workflows/publishing.yml | 24 +++++++++++++++++++----- src/dependency_injector/__init__.py | 2 +- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index a9693420..3ce13acf 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -23,9 +23,12 @@ jobs: - run: pip install twine - run: twine upload dist/* - publish-linux-wheels-x64: + publish-wheels: name: Publish Linux wheels (x64) - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} @@ -35,7 +38,18 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.9 - - run: pip install cibuildwheel==1.6.3 + - run: pip install cibuildwheel==1.8.0 - run: cibuildwheel --output-dir wheelhouse - - run: pip install twine - - run: twine upload wheelhouse/*.whl + - uses: actions/upload-artifact@v2 + 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 diff --git a/src/dependency_injector/__init__.py b/src/dependency_injector/__init__.py index 35743b07..dff0a540 100644 --- a/src/dependency_injector/__init__.py +++ b/src/dependency_injector/__init__.py @@ -1,6 +1,6 @@ """Top-level package.""" -__version__ = '4.10.3dev1' +__version__ = '4.10.3dev2' """Version number. :type: str