Skip to content

Bump prefix-dev/setup-pixi from 0.9.1 to 0.9.2 (#155) #16

Bump prefix-dev/setup-pixi from 0.9.1 to 0.9.2 (#155)

Bump prefix-dev/setup-pixi from 0.9.1 to 0.9.2 (#155) #16

Workflow file for this run

name: PyPI packaging and deployment
on:
workflow_dispatch:
push:
branches: [qa, main]
tags: ['v*']
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v5
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.41.4
manifest-path: pyproject.toml
- name: build pypi package
run: |
# build the package
VERSION=$(pixi run -- versioningit .)
pixi run -- python -m build
# publish your distributions here (need to setup on PyPI first)
- name: Publish package distributions to PyPI
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@release/v1