Adds b64pack CLI tool with packaging and deployment
Some checks failed
Build and Publish b64pack / build-and-publish (push) Failing after 11s

Introduces the b64pack CLI tool for packing, encoding, and decoding files or directories into Base64, with essential features and a simple interface.

Sets up automated build and deploy workflow for the tool using Gitea Actions. Includes Poetry configuration for dependency management and packaging.

Fixes copyright metadata and updates documentation in English and German.
This commit is contained in:
2025-04-28 09:42:38 +02:00
parent b8665fd24d
commit af0795661f
10 changed files with 927 additions and 1 deletions

View File

@@ -0,0 +1,44 @@
# .gitea/workflows/publish.yml
name: Build and Publish b64pack
on:
push:
paths:
- "b64pack/pyproject.toml" # Nur bei Änderungen an dieser Datei
workflow_dispatch: # Manuelles Anstoßen zulassen
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: 🐍 Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Poetry
run: |
pip install poetry
- name: Install Project Dependencies
working-directory: b64pack
run: |
poetry install
- name: Build Package
working-directory: b64pack
run: |
poetry build
- name: Publish to Gitea Package Registry
working-directory: b64pack
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
poetry run twine upload --repository-url ${{ secrets.TWINE_URL }} dist/*