Files
cpl/.gitea/workflows/package.yaml
edraft 0195410e56
Some checks failed
Build on push / prepare (push) Failing after 7s
Build on push / build (push) Has been skipped
Build on push / publish (push) Has been skipped
Updated ci
2025-09-15 15:09:44 +02:00

34 lines
800 B
YAML

name: Build Package
run-name: Build Python Package
on:
workflow_call:
jobs:
build:
runs-on: [ runner ]
needs: prepare
container: git.sh-edraft.de/sh-edraft.de/act-runner:latest
steps:
- name: Clone Repository
uses: https://github.com/actions/checkout@v3
with:
token: ${{ secrets.CI_ACCESS_TOKEN }}
- name: Download build version artifact
uses: actions/download-artifact@v3
with:
name: version
- name: Set version
run: |
sed -i -E "s/^version = \".*\"/version = \"$(cat version.txt)-dev\"/" pyproject.toml
- name: Install Dependencies
run: |
pip install build
- name: Build Package
run: |
python -m build --sdist --wheel --outdir dist