Skip to content

v49

v49 #36

Workflow file for this run

name: publish
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-20.04
permissions:
id-token: write
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Install package for testing
run: |
pip install -e .
- name: Minimal test
run: |
jncep --help
- name: Install dev dependencies
run: |
pip install -r requirements-dev.txt
- name: Build pip package
run: |
python setup.py sdist bdist_wheel
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1