Skip to content

Commit e7c093a

Browse files
committed
remove installation of packages in nb sync
Signed-off-by: Kevin <[email protected]>
1 parent 4fc5482 commit e7c093a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/odh-notebooks-sync.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,8 @@ jobs:
6262
mv $1 Pipfile
6363
mv $2 Pipfile.lock
6464
fi
65-
if ! pipenv install ${package_name}~="${CODEFLARE_RELEASE_VERSION}"; then
66-
echo "Failed to install ${package_name} with version ${CODEFLARE_RELEASE_VERSION} in $dir"
67-
exit 1
68-
fi
65+
# replace existing version of cf-sdk with new version in Pipfile
66+
echo "$(sed 's/codeflare-sdk = .*$/codeflare-sdk = \"~=$CODEFLARE_RELEASE_VERSION\"/g' Pipfile | envsubst)" > Pipfile
6967
# Lock dependencies, ensuring pre-release are included and clear previous state
7068
if ! pipenv lock --pre --clear ; then
7169
echo "Failed to lock dependencies"

0 commit comments

Comments
 (0)