3 Commits
Author SHA1 Message Date
mathias2784 9f85c0034f Publish workflow (#3)
Tests / test_and_lint (push) Successful in 7s
Publish Package to Gitea / publish (push) Failing after 6s
Reviewed-on: #3
Co-authored-by: Mathias Scheider <mathias2784@web.de>
2026-10-01 19:35:04 +00:00
mathias2784 d56a4cdf34 Publish workflow (#2)
Tests / test_and_lint (push) Successful in 7s
Reviewed-on: #2
Co-authored-by: Mathias Scheider <mathias2784@web.de>
2026-10-01 19:31:35 +00:00
mathias2784 9d13c6ec14 File utils1 (#1)
Tests / test_and_lint (push) Successful in 7s
Reviewed-on: #1
Co-authored-by: Mathias Scheider <mathias2784@web.de>
2026-10-01 19:13:45 +00:00
2 changed files with 38 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
name: Publish Package to Gitea
on:
push:
tags:
- "v*" # This triggers the workflow when you push a tag like v1.0.0
jobs:
publish:
runs-on: ubuntu-latest # Or your specific runner label
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: python -m build
- name: Publish to Gitea PyPI
env:
# These secrets must match the names you created in Gitea
TWINE_USERNAME: ${{ secrets.TWINE_PASSWORD }}
TWINE_PASSWORD: ${{ secrets.TWINE_USERNAME }}
# REPLACE THIS URL with your actual Gitea PyPI endpoint
TWINE_REPOSITORY_URL: "https://gitea.schneiderserver.site/api/packages/mathias2784/pypi"
run: |
twine upload --repository-url $TWINE_REPOSITORY_URL dist/*
+2 -2
View File
@@ -1,7 +1,7 @@
[project] [project]
name = "utils" name = "utils"
version = "0.1.1" version = "0.1.2"
description = "This is a test version bump with only minor improvements" description = "Some hopefully useful utilities to use in everyday coding"
readme = "README.md" readme = "README.md"
authors = [ authors = [
{ name = "Mathias Schneider", email = "mathias.schneider@d-fine.com" } { name = "Mathias Schneider", email = "mathias.schneider@d-fine.com" }