Skip to content

updated information (#98) #77

updated information (#98)

updated information (#98) #77

Workflow file for this run

name: Release pipeline
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
branches:
- master
jobs:
release-pipeline:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
cache-dependency-path: setup.py
- name: Install pip
run: |
python -m pip install --upgrade pip
- name: Install build dependencies
run: |
pip install build
- name: Build distribution
run: |
python -m build
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.LABS_PYPI_TOKEN }}