Skip to content

Releasing next version πŸš€ #3

Releasing next version πŸš€

Releasing next version πŸš€ #3

Workflow file for this run

name: PyPi release
run-name: Releasing next version πŸš€
on:
push:
tags:
- '*'
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11" ]
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- run: |
./python/ci/linux/create_venv.sh
./python/ci/linux/install_dependencies.sh
- name: build
run: |
./python/ci/linux/build_python_package.sh
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: python/dist/