Updated ci
Some checks failed
Build on push / prepare (push) Successful in 9s
Build on push / build (push) Successful in 13s
Build on push / publish (push) Failing after 10s

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

View File

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

View File

@@ -7,7 +7,6 @@ on:
jobs: jobs:
build: build:
runs-on: [ runner ] runs-on: [ runner ]
needs: prepare
container: git.sh-edraft.de/sh-edraft.de/act-runner:latest container: git.sh-edraft.de/sh-edraft.de/act-runner:latest
steps: steps:
@@ -32,16 +31,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: