Skip to content

2024-07-08 - AI4DiffEq ICLR'24 #5

2024-07-08 - AI4DiffEq ICLR'24

2024-07-08 - AI4DiffEq ICLR'24 #5

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [created]
jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.in-project true
- name: Install dependencies
run: |
poetry install
- name: Build and publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
run: |
poetry version $(git describe --tags --abbrev=0)
poetry build
poetry publish