From dbd4271d6733c7db42d5be0c9aa4a3161fbf52c4 Mon Sep 17 00:00:00 2001 From: Sandra Rodgers Date: Thu, 11 Jul 2024 15:10:21 -0500 Subject: [PATCH] update requirements --- .github/workflows/update-deepgram-sdk.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update-deepgram-sdk.yaml b/.github/workflows/update-deepgram-sdk.yaml index 3d58284..01ba73e 100644 --- a/.github/workflows/update-deepgram-sdk.yaml +++ b/.github/workflows/update-deepgram-sdk.yaml @@ -41,6 +41,9 @@ jobs: if [ "$LATEST_VERSION" != "$INSTALLED_VERSION" ]; then echo "Updating Deepgram SDK from $INSTALLED_VERSION to $LATEST_VERSION" pip install deepgram-sdk==$LATEST_VERSION + + # Update requirements.txt + sed -i "s/deepgram-sdk==.*/deepgram-sdk==$LATEST_VERSION/" requirements.txt git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' git add requirements.txt