Skip to content

Commit

Permalink
Building (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyod committed Nov 21, 2020
1 parent 74d5c2a commit af6d176
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,9 @@ jobs:
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
env:
CIBW_BUILD: 'cp36-* cp37-* cp38-*'
PYPI_PASSWORD: ${{ secrets.pypi_password }}
run: |
pip install cibuildwheel twine --upgrade;
python -m cibuildwheel --output-dir dist;
- name: Publish Python distribution to PyPI
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
uses: pypa/gh-action-pypi-publish@master
with:
skip_existing: true
user: __token__
password: ${{ secrets.pypi_password }}

echo "$PYPI_PASSWORD"
python -m twine upload dist/* -u tommyod -p "$PYPI_PASSWORD" --skip-existing;

0 comments on commit af6d176

Please sign in to comment.