From fe5c33b8a250d6344c98555fe765ed0e01238a55 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Tue, 26 Jan 2021 08:26:23 -0500 Subject: [PATCH] Add linux x64 wheels publishing job --- .github/workflows/publishing.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index 00cbe6f8..a9693420 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -13,6 +13,7 @@ jobs: env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + TWINE_REPOSITORY: testpypi steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 @@ -20,4 +21,21 @@ jobs: python-version: 3.9 - run: python setup.py sdist - run: pip install twine - - run: twine upload --repository testpypi dist/* + - run: twine upload dist/* + + publish-linux-wheels-x64: + name: Publish Linux wheels (x64) + runs-on: ubuntu-latest + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + TWINE_REPOSITORY: testpypi + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.9 + - run: pip install cibuildwheel==1.6.3 + - run: cibuildwheel --output-dir wheelhouse + - run: pip install twine + - run: twine upload wheelhouse/*.whl