Update publish to test pypi workflow

This commit is contained in:
Andrei Betlen 2023-09-29 22:32:31 -04:00
parent 43f8fc371a
commit 85e4d08a2e

View file

@ -17,6 +17,8 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Update __version__ with Git Short Hash
run: sed -i "s/__version__ = .*/__version__ = '$(git rev-parse --short HEAD)'/" llama_cpp/__init__.py
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip build