Skip to content

Fix/downsample origin (#225) #10

Fix/downsample origin (#225)

Fix/downsample origin (#225) #10

Workflow file for this run

name: Release to PyPI
on:
push:
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+' # Match tags that resemble a version (no dev versions)
jobs:
build-and-publish:
name: Build and publish Python package
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/timely-beliefs
permissions:
contents: read
id-token: write
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Upgrade pip and install build
run: |
python -m pip install --upgrade pip
pip install build
- name: Build the package
run: python -m build
- name: Check distribution metadata
run: |
pip install twine
twine check dist/*
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1