Skip to content

Merge pull request #453 from AllenCellModeling/workflow-release #71

Merge pull request #453 from AllenCellModeling/workflow-release

Merge pull request #453 from AllenCellModeling/workflow-release #71

Workflow file for this run

---
name: publish
on:
push:
branches:
- main
paths:
- version.toml
jobs:
publish:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PDM
uses: pdm-project/setup-pdm@v2
with:
python-version: "3.10"
- name: Build package
run: pdm build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1