Files
quickbot_cli/.gitea/workflows/release-testpypi.yaml
Alexander Kalinovsky 5247544bc3
Some checks failed
CI / test (3.13) (push) Successful in 41s
Publish to PyPI / build-publish (release) Has been cancelled
Publish to TestPyPI / build-publish (release) Failing after 21s
chore: remove tag filters from release workflows and add debug info steps
2025-08-26 20:05:20 +03:00

39 lines
945 B
YAML

# SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
#
# SPDX-License-Identifier: Apache-2.0
name: Publish to TestPyPI
on:
release:
types: [published]
jobs:
build-publish:
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Debug info
run: |
echo "GITEA_REF: ${{ gitea.ref }}"
echo "GITEA_EVENT_NAME: ${{ gitea.event_name }}"
echo "GITEA_ACTOR: ${{ gitea.actor }}"
echo "GITEA_REPOSITORY: ${{ gitea.repository }}"
- name: Set up uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: "3.13"
- name: Build wheel & sdist
run: |
uv build
- name: Publish (TestPyPI)
run: |
uv publish --repository-url https://test.pypi.org/legacy/ --skip-existing