Updated ci
Some checks failed
Build on push / prepare (push) Successful in 9s
Build on push / core (push) Failing after 10s
Build on push / query (push) Failing after 12s

This commit is contained in:
2025-09-15 17:09:10 +02:00
parent 4719c32457
commit 9de635622e
3 changed files with 35 additions and 16 deletions

View File

@@ -8,12 +8,17 @@ on:
description: 'Suffix for version (z.B. "dev", "alpha", "beta")'
required: false
type: string
working_directory:
required: true
type: string
jobs:
build:
runs-on: [ runner ]
container: git.sh-edraft.de/sh-edraft.de/act-runner:latest
defaults:
run:
working-directory: ${{ inputs.working_directory }}
steps:
- name: Clone Repository
uses: https://github.com/actions/checkout@v3
@@ -27,12 +32,7 @@ jobs:
- name: Set version
run: |
VERSION_SUFFIX="${{ inputs.version_suffix }}"
if [ -n "$VERSION_SUFFIX" ]; then
sed -i -E "s/^version = \".*\"/version = \"$(cat version.txt)-$VERSION_SUFFIX\"/" pyproject.toml
else
sed -i -E "s/^version = \".*\"/version = \"$(cat version.txt)\"/" pyproject.toml
fi
sed -i -E "s/^version = \".*\"/version = \"$(cat version.txt)\"/" pyproject.toml
- name: Install Dependencies
run: |
@@ -40,7 +40,7 @@ jobs:
- name: Build Package
run: |
python -m build --sdist --wheel --outdir dist
python -m build --outdir dist
- name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1