Skip to content

Prepare initial pre-release (#54) #25

Prepare initial pre-release (#54)

Prepare initial pre-release (#54) #25

Workflow file for this run

name: Publish library
on:
push:
tags:
# Don't try to be smart about PEP 440 compliance,
# see https://www.python.org/dev/peps/pep-0440/#appendix-b-parsing-version-strings-with-regular-expressions
- v*
jobs:
publish:
environment:
name: publish
url: https://pypi.org/p/arviz-plots
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install build dependencies
run: python -m pip install build
- name: Build package
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')