Skip to content

build: release 0.5.1 (#49) #50

build: release 0.5.1 (#49)

build: release 0.5.1 (#49) #50

Workflow file for this run

name: Deploy on PyPI
on:
push:
branches:
- master
tags:
- 'v*.*.*'
jobs:
publish-pypi-github:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python 3.10
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
python -m pip install -e .[all]
git config --global --add user.name "Renku @ SDSC"
git config --global --add user.email "hello@renku.io"
- name: Build Package
run: python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@v1.13.0