Skip to content

v0.1.1

v0.1.1 #12

Workflow file for this run

# Publish to PyPI: https://github.com/marketplace/actions/pypi-publish
name: Publish to PyPI
on:
release:
types: [published]
jobs:
pypi-publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/hyswap
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install setuptools setuptools-scm wheel twine check-manifest
pip install -r requirements.txt
- name: Build package
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1