initial commit
Some checks failed
CI / build (push) Failing after 18s

This commit is contained in:
2024-06-22 08:13:48 +08:00
commit c62e3a5d73
4 changed files with 167 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
name: CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: woryzen
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
- name: Execute build
env:
TWINE_REPOSITORY_URL: ${{ vars.PYPI_REGISTRY_URL }}
TWINE_USERNAME: ${{ vars.PUBLISHER_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PUBLISHER_TOKEN }}
run: |
python -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/python -m build
.venv/bin/python -m twine upload --repository gitea dist/*{.whl,rag.gz}