echodict/llama.cpp
version https://git-lfs.github.com/spec/v1 oid sha256:cfc44b7ba25614df70e6b65e3341cae0310163bd32fd31a6b928a542df433faf size 30786
0765
1# This workflow will upload a Python Package using Twine when a GGUF release is created2# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries3 4# See `gguf-py/README.md` for how to make a release.5 6# This workflow uses actions that are not certified by GitHub.7# They are provided by a third-party and are governed by8# separate terms of service, privacy policy, and support9# documentation.10 11name: Upload Python Package12 13on:14 workflow_dispatch:15 push:16 # Pattern matched against refs/tags17 tags:18 - 'gguf-v*' # Push events to every version tag19 20 21jobs:22 deploy:23 24 runs-on: ubuntu-latest25 26 steps:27 - uses: actions/checkout@v628 - name: Set up Python29 uses: actions/setup-python@v630 with:31 python-version: '3.11'32 - name: Install dependencies33 run: |34 cd gguf-py35 python -m pip install poetry==2.3.236 poetry install37 38 - name: Build package39 run: cd gguf-py && poetry build40 - name: Publish package41 uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v142 with:43 password: ${{ secrets.PYPI_API_TOKEN }}44 packages-dir: gguf-py/dist45 