Skip to content

Harness the github action to make a release #1

Harness the github action to make a release

Harness the github action to make a release #1

Workflow file for this run

name: Publish
on:
push:
branches:
- master
jobs:
publish:
name: "Publish release"
runs-on: "ubuntu-latest"
environment:
name: deploy
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: 3.8
- name: "Install dependencies"
run: "scripts/install"
- name: "Build package"
run: "scripts/build"
- name: "Publish to PyPI"
run: "scripts/publish"
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}