Remove automatic pypi release action, not going to be used
This commit is contained in:
parent
8122c4f942
commit
40eecaca94
1 changed files with 0 additions and 37 deletions
|
|
@ -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 }}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue