diff --git a/.github/workflows/github_action_publish_to_pypi.yml b/.github/workflows/github_action_publish_to_pypi.yml deleted file mode 100644 index 48d3c246fa..0000000000 --- a/.github/workflows/github_action_publish_to_pypi.yml +++ /dev/null @@ -1,37 +0,0 @@ -# This Evennia workflow will deploy the Evennia package automatically to -# pypi if vNN tag was given. -# - -name: publish-evennia - -on: - push: - tags: ['v*'] - -jobs: - build-and-publish: - name: Build and publish Evennia to PyPi - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@master - - - name: Set up Python 3.11 - uses: actions/setup-python@v3 - with: - python-version: "3.11" - - - name: Install build - run: | - python -m pip install --upgrade pip - python -m pip install build --user - - - name: Build binary wheel and source tarball - run: | - python -m build --sdist --wheel --outdir dist/ . - - - name: Publish Evennia PyPi (on tag) - if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }}