Skip to content

Release v0.4.5

Release v0.4.5 #7

Workflow file for this run

on:
release:
types: [released]
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/causica
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
poetry env use 3.10
poetry build
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: Build artifacts
path: ./dist
retention-days: 90
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1