Skip to content

Fix uv workflow #24

Fix uv workflow #24 #3

# SPDX-FileCopyrightText: 2024 Ludwig Hülk <@Ludee> © Reiner Lemoine Institut
# SPDX-License-Identifier: MIT
name: Build and publish on Test PyPI
on:
push:
branches:
- deployment-test
- 'release-*'
jobs:
build-n-publish:
name: Build and publish on Test PyPI
runs-on: ubuntu-latest
environment: pypi-publish
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install
run: >-
python -m
pip install
build
uv
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
uv build
- name: Publish distribution to Test PyPI
run: >-
uv publish