Updated ci
Some checks failed
Build on push / prepare (push) Failing after 1s
Build on push / build (push) Has been skipped

This commit is contained in:
2025-09-15 15:05:02 +02:00
parent 2d2bb86720
commit 901f890cb0
3 changed files with 6 additions and 19 deletions

View File

@@ -7,8 +7,11 @@ on:
jobs: jobs:
prepare: prepare:
uses: ./.gitea/workflows/prepare.yaml uses: .gitea/workflows/prepare.yaml
build: build:
needs: prepare needs: prepare
uses: ./.gitea/workflows/package.yaml uses: .gitea/workflows/package.yaml
defaults:
run:
working-directory: src/cpl_core

View File

@@ -32,16 +32,3 @@ jobs:
- name: Build Package - name: Build Package
run: | run: |
python -m build --sdist --wheel --outdir dist python -m build --sdist --wheel --outdir dist
upload:
- name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1
with:
registry: git.sh-edraft.de
username: ${{ secrets.CI_USERNAME }}
password: ${{ secrets.CI_ACCESS_TOKEN }}
- name: Push image
run: |
pip install twine
python -m twine upload --repository-url https://git.sh-edraft.de/api/packages/sh-edraft.de/pypi -u ${{ secrets.CI_USERNAME }} -p ${{ secrets.CI_ACCESS_TOKEN }} ./dist/*

View File

@@ -3,9 +3,6 @@ run-name: Prepare Build Version
on: on:
workflow_call: workflow_call:
outputs:
build_version:
value: ${{ jobs.prepare.outputs.build_version }}
jobs: jobs:
prepare: prepare: