This commit is contained in:
parent
5d03260a06
commit
ea25549f1e
1 changed files with 12 additions and 11 deletions
|
@ -4,6 +4,17 @@ when:
|
|||
- event: manual
|
||||
|
||||
steps:
|
||||
get_tag:
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
commands:
|
||||
- echo $CI_COMMIT_TAG
|
||||
if_tag:
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
when:
|
||||
evaluate: 'CI_COMMIT_TAG == true'
|
||||
commands:
|
||||
- echo "It's a tag!"
|
||||
|
||||
sync:
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
volumes:
|
||||
|
@ -29,17 +40,6 @@ steps:
|
|||
- uv build --wheel
|
||||
- uv cache prune --ci
|
||||
|
||||
get_tag:
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
commands:
|
||||
- echo $CI_COMMIT_TAG
|
||||
if_tag:
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
when:
|
||||
evaluate: 'CI_COMMIT_TAG == true'
|
||||
commands:
|
||||
- echo "It's a tag!"
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -55,6 +55,7 @@ steps:
|
|||
from_secret: forgejo_password
|
||||
commands:
|
||||
- twine upload --repository-url $REGISTRY_URL/api/packages/$OWNER/pypi -u $USERNAME -p $PASSWORD --non-interactive dist/*.whl
|
||||
failure: ignore
|
||||
|
||||
# TODO: container
|
||||
# For podman build: see https://woodpecker-ci.org/blog/podman-image-build-sigstore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue