Files
KomConfig/.gitea/workflows/build.yaml
Workflow config file is invalid. Please check your config file: yaml: line 18: mapping values are not allowed in this context
2025-03-15 21:16:33 +01:00

20 lines
548 B
YAML

on:
pull:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python
run: uv python install
- name: Build package
run: uv build
- name: Publish package
env:
USERNAME: ${{ github.repository_owner }}
run: run: uv publish --publish-url https://git.theprivateserver.de/api/packages/${USERNAME}/pypi/ -u $USERNAME -p ${{ secrets.PASSWORD }}