Skip to content

Merge pull request #50 from MetroStar/release-1.1.0 #24

Merge pull request #50 from MetroStar/release-1.1.0

Merge pull request #50 from MetroStar/release-1.1.0 #24

Workflow file for this run

name: "Release"
on:
push:
tags:
- 'v*'
jobs:
release:
name: 'PyPi 🐍 Release 🐍 '
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.9
- name: Install Dependencies
run: |
pip install twine click
- name: Build and Distribute
env:
PYPI_USERNAME: __token__
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist
twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD dist/*