Skip to content

Commit

Permalink
Fix errors in GHA publishing workflow (#355)
Browse files Browse the repository at this point in the history
* fix build and publish to PyPI and Anaconda

- deprecate conda support for python 3.6 and 3.7

* minor edit
  • Loading branch information
luisfabib authored Jul 30, 2022
1 parent 215db52 commit e7cc77c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs_PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- '.github/workflows/examples_PR.yml'
jobs:

deploy:
docsbuild:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Build distribution
run: |
python setup.py sdist
./setup.py bdist_wheel
./setup.py bdist_wheel --user
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down Expand Up @@ -53,4 +53,4 @@ jobs:
subdir: 'conda.recipe'
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
platforms: 'osx-64 linux-32 linux-64 win-32 win-64'
python: '3.6 3.7 3.8 3.9 3.10'
python: '3.8 3.9 3.10'

0 comments on commit e7cc77c

Please sign in to comment.