Initial commit

This commit is contained in:
luk3yx
2021-12-21 08:43:00 +13:00
commit ab49b93081
6 changed files with 872 additions and 0 deletions

28
.github/workflows/pythonpublish.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine mypy requests types-requests
- name: Run mypy
run: mypy miniirc_matrix.py
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*