mirror of
https://github.com/ollama/ollama-python.git
synced 2026-05-01 11:48:17 +08:00
fix publish
This commit is contained in:
parent
efc7ea3e78
commit
42ddf71475
5
.github/workflows/publish.yaml
vendored
5
.github/workflows/publish.yaml
vendored
@ -16,9 +16,12 @@ jobs:
|
|||||||
- run: pipx install poetry
|
- run: pipx install poetry
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
cache: poetry
|
cache: poetry
|
||||||
- run: |
|
- run: |
|
||||||
poetry version -- ${GIT_REF_NAME#v}
|
poetry version ${GITHUB_REF_NAME#v}
|
||||||
poetry build
|
poetry build
|
||||||
- uses: pypa/gh-action-pypi-publish@release/v1
|
- uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
- run: gh release upload $GIT_REF_NAME dist/*
|
- run: gh release upload $GIT_REF_NAME dist/*
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user