Skip to content

Setup build and test #1

Setup build and test

Setup build and test #1

Workflow file for this run

name: Build and Publish Python Package
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install wheel
- name: Build package
run: python -m build
- name: Upload Python Package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}