Skip to content

Merge branch 'main' of https://github.com/bboonstra/Effortless #87

Merge branch 'main' of https://github.com/bboonstra/Effortless

Merge branch 'main' of https://github.com/bboonstra/Effortless #87

Workflow file for this run

# .github/workflows/publish.yml
name: Publish Package
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[release]')
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}