diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 5dceb53..40e86ee 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -3,7 +3,6 @@ on: workflow_dispatch: push: branches: "main" - tags-ignore: ["**"] pull_request: schedule: - cron: "0 8 * * *" @@ -81,24 +80,3 @@ jobs: run: python -m tox -e ${{ matrix.tox_env }} env: UPGRADE_ADVISORY: "yes" - - publish: - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - needs: [check, test] - runs-on: ubuntu-latest - steps: - - name: setup python to build package - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - name: install build - run: python -m pip install build - - uses: actions/checkout@v4 - - name: build package - run: python -m build --sdist --wheel . -o dist - - name: publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.8.14 - with: - skip_existing: true - user: __token__ - password: ${{ secrets.pypi_password }}