Skip to content

v0.2.3

v0.2.3 #8

Workflow file for this run

name: Publish package
on:
workflow_dispatch:
release:
types: [published]
jobs:
tests:
uses: MaastrichtU-IDS/trapi-predict-kit/.github/workflows/test.yml@main
secrets: inherit
publish:
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}