mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-03-11 23:35:48 +03:00
Add linux x64 wheels publishing job
This commit is contained in:
parent
e3defb6596
commit
fe5c33b8a2
20
.github/workflows/publishing.yml
vendored
20
.github/workflows/publishing.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user