fix: Gitea Actions use haskelseed runner and PACKAGE_* secrets
Some checks failed
ci / test (3.12) (push) Has been cancelled
ci / test (3.10) (push) Has been cancelled

ubuntu-latest never matched the self-hosted runner; Gitea also rejects
GITEA_-prefixed secret names. Wire publish workflow to PACKAGE_USER/TOKEN.
This commit is contained in:
2026-06-16 03:13:01 +02:00
parent c004c3d4d7
commit 2a03eed012
4 changed files with 12 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: haskelseed
strategy:
matrix:
python-version: ["3.10", "3.12"]

View File

@@ -8,7 +8,7 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
runs-on: haskelseed
steps:
- name: Check out source
uses: actions/checkout@v4
@@ -29,8 +29,8 @@ jobs:
- name: Upload to Gitea PyPI
env:
TWINE_USERNAME: ${{ secrets.GITEA_PACKAGE_USER }}
TWINE_PASSWORD: ${{ secrets.GITEA_PACKAGE_TOKEN }}
TWINE_USERNAME: ${{ secrets.PACKAGE_USER }}
TWINE_PASSWORD: ${{ secrets.PACKAGE_TOKEN }}
run: >-
python -m twine upload
--repository-url https://gitea.coulomb.social/api/packages/coulomb/pypi