Skip to content

PyTreeDataset (#278) #88

PyTreeDataset (#278)

PyTreeDataset (#278) #88

Workflow file for this run

# source: https://github.com/marketplace/actions/pypi-publish
name: Upload Python Package to TestPyPI
on:
push:
branches: [main]
jobs:
testpypi-publish:
name: Upload commit to TestPyPI
runs-on: ubuntu-latest
environment:
name: test-pypi
url: https://test.pypi.org/p/cellarium-ml
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build setuptools-git-versioning
- name: Build package
run: python -m build
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/