Skip to content

Commit

Permalink
Update to macos-latest to publish to PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
yafshar committed Sep 11, 2020
1 parent afac856 commit 44e9138
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand All @@ -16,12 +16,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel==0.34.2 twine auditwheel
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME_Y }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD_Y }}
run: |
python setup.py sdist bdist_wheel
auditwheel repair dist/*.whl
twine upload dist/*

0 comments on commit 44e9138

Please sign in to comment.