Skip to content

1.0.4

1.0.4 #6

name: "Publish Package"
on:
workflow_dispatch: {}
release:
types: [published]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: "Checkout Infrastructure"
uses: actions/checkout@main
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install Dependencies
run: |
pip install build twine
- name: Build and Distribute
env:
PYPI_USERNAME: __token__
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build
twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD dist/*