From db5ee9641278d44f043ff645176732d5a61b3ea5 Mon Sep 17 00:00:00 2001 From: edraft Date: Mon, 15 Sep 2025 15:05:02 +0200 Subject: [PATCH] Updated ci --- .gitea/workflows/core_dev.yaml | 12 +++++++++++- .gitea/workflows/package.yaml | 15 +-------------- .gitea/workflows/prepare.yaml | 3 --- 3 files changed, 12 insertions(+), 18 deletions(-) diff --git a/.gitea/workflows/core_dev.yaml b/.gitea/workflows/core_dev.yaml index 7e468e78..a45b99b2 100644 --- a/.gitea/workflows/core_dev.yaml +++ b/.gitea/workflows/core_dev.yaml @@ -11,4 +11,14 @@ jobs: build: needs: prepare - uses: ./.gitea/workflows/package.yaml \ No newline at end of file + uses: ./.gitea/workflows/package.yaml + defaults: + run: + working-directory: src/cpl_core + + publish: + needs: build + uses: ./.gitea/workflows/publish.yaml + defaults: + run: + working-directory: src/cpl_core \ No newline at end of file diff --git a/.gitea/workflows/package.yaml b/.gitea/workflows/package.yaml index d2fd07fc..664b7d60 100644 --- a/.gitea/workflows/package.yaml +++ b/.gitea/workflows/package.yaml @@ -31,17 +31,4 @@ jobs: - name: Build Package run: | - 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/* \ No newline at end of file + python -m build --sdist --wheel --outdir dist \ No newline at end of file diff --git a/.gitea/workflows/prepare.yaml b/.gitea/workflows/prepare.yaml index bf78435c..0ef54f3a 100644 --- a/.gitea/workflows/prepare.yaml +++ b/.gitea/workflows/prepare.yaml @@ -3,9 +3,6 @@ run-name: Prepare Build Version on: workflow_call: - outputs: - build_version: - value: ${{ jobs.prepare.outputs.build_version }} jobs: prepare: