Skip to content

yet another attempt at action automation #35

yet another attempt at action automation

yet another attempt at action automation #35

Workflow file for this run

name: publish
on:
push:
tags:
- '*'
jobs:
build-n-publish:
name: Build and publish Python distributions to PyPi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish distribution 📦 to PyPi
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}