Skip to content

Commit

Permalink
cleans upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrocamargo committed Feb 7, 2020
1 parent b4292ef commit a061156
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ jobs:
run: |
python setup.py sdist bdist_wheel
twine upload dist/*.whl
twine upload dist/*.gz
34 changes: 34 additions & 0 deletions .github/workflows/upload_tar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Upload MacOS Python Package

on:
release:
types: [prereleased, published]

jobs:
deploy:
runs-on: macos-latest
strategy:
matrix:
python-version: [ '3.7' ]
steps:
- uses: actions/checkout@v1
- name: Set Python environment
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install numpy cython pyaml pyqt5 pyshp
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*.gz

0 comments on commit a061156

Please sign in to comment.