Commit 6b4dc238 authored by Pedro Oliveira's avatar Pedro Oliveira

fix PyPi publish

parent 5a45b31d
......@@ -6,7 +6,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
......@@ -16,7 +16,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install setuptools wheel twine auditwheel
sudo apt install libpcap-dev
- name: Build and publish
env:
......@@ -24,4 +24,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
auditwheel repair dist/*.whl
mv wheelhouse/* dist
rm dist/*.whl
twine upload dist/*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment