Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix push to pypi #100

Merged
merged 3 commits into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,17 @@ jobs:
name: artifact
path: dist

- uses: pypa/[email protected]
if: ${{ github.event.inputs.test_pypi_publish }}
- name: Push to PyPI
uses: pypa/[email protected]
if: ${{ github.event.inputs.pypi_publish == 'true' }}
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
repository_url: https://pypi.org/legacy/
repository_url: https://upload.pypi.org/legacy/

- uses: pypa/[email protected]
if: ${{ github.event.inputs.pypi_publish }}
- name: Push to Test PyPI
uses: pypa/[email protected]
if: ${{ github.event.inputs.test_pypi_publish == 'true' }}
with:
user: __token__
password: ${{ secrets.PYPI_TEST_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ project_urls =
Issues = https://github.com/FEniCS/ufl/issues
Funding = https://numfocus.org/donate
long_description = file: README.rst
long_description_content_type = text/rst
long_description_content_type = text/x-rst
license=LGPL-3.0-or-later
classifiers =
Development Status :: 5 - Production/Stable
Expand Down