forked from phoenix/litellm-mirror
Updated config.yml
This commit is contained in:
parent
4900f11570
commit
74c5e6f415
1 changed files with 10 additions and 0 deletions
|
@ -74,6 +74,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Check if litellm dir was updated or if pyproject.toml was modified
|
||||||
|
command: |
|
||||||
|
if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep -E 'pyproject\.toml|litellm/')" ]; then
|
||||||
|
echo "litellm updated"
|
||||||
|
else
|
||||||
|
echo "No changes to litellm or pyproject.toml. Skipping PyPI publish."
|
||||||
|
circleci step halt
|
||||||
|
fi
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Checkout code
|
name: Checkout code
|
||||||
command: git checkout $CIRCLE_SHA1
|
command: git checkout $CIRCLE_SHA1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue