Skip to content

Commit

Permalink
Update check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat committed Apr 27, 2023
1 parent 699db9e commit ba1cb8b
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,26 +124,3 @@ jobs:
run: python -m tox -e ${{ matrix.tox_env }}
env:
UPGRADE_ADVISORY: "yes"

publish:
needs: [check]
runs-on: ubuntu-22.04
steps:
- name: Setup python to build package
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install https://pypi.org/project/build
run: python -m pip install build
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build sdist and wheel
run: python -m build -s -w . -o dist
- name: Publish to PyPi
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository_owner == 'pypa'
uses: pypa/gh-action-pypi-publish@v1.8.5
with:
skip_existing: true
user: __token__
password: ${{ secrets.pypi_password }}

0 comments on commit ba1cb8b

Please sign in to comment.