Skip to content

uv deps update

uv deps update #2

Workflow file for this run

name: Release
on:
push:
tags:
# Publish on any tag starting with a `v`, e.g. v1.2.3
- v*
jobs:
pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
# Environment and permissions trusted publishing.
environment:
# Create this environment in the GitHub repository under Settings -> Environments
name: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6.1.0
- run: uv build
- name: Publish to TestPyPI
if: github.repository != 'Spherinator/Spherinator'
run: uv publish --trusted-publishing always --index testpypi
- name: Publish to PyPI
if: github.repository == 'Spherinator/Spherinator'
run: uv publish --trusted-publishing always