From dc2768b4c9734ac27248aa9bed0d09bb94c55eb0 Mon Sep 17 00:00:00 2001 From: thomasht86 Date: Fri, 5 Jul 2024 13:08:04 +0200 Subject: [PATCH] now --- .github/workflows/notebooks-cloud.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/notebooks-cloud.yml b/.github/workflows/notebooks-cloud.yml index 67b5474a..da1002b2 100644 --- a/.github/workflows/notebooks-cloud.yml +++ b/.github/workflows/notebooks-cloud.yml @@ -14,10 +14,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set output variable (Make sure it is this quote format - '["path/to/notebook1.ipynb", "path/to/notebook2.ipynb"]') + - name: Set output variable (Make sure it is this quote format - "[path/to/notebook1.ipynb", "path/to/notebook2.ipynb]") id: set_output run: | - notebooks=$(find docs -name '*cloud.ipynb*' ! -name 'mother-of-all-embedding-models-cloud.ipynb' | jq -R -s -c 'split("\n")[:-1]') + notebooks=$(find docs -name '*cloud.ipynb*' ! -name 'mother-of-all-embedding-models-cloud.ipynb' | jq -R -s -c 'split("\n")[:-1]') + # Print all notebooks echo + echo $notebooks echo "notebooks=$notebooks" >> $GITHUB_OUTPUT notebooks-cloud: runs-on: ubuntu-latest @@ -54,5 +56,5 @@ jobs: CO_API_KEY: ${{ secrets.CO_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: | - echo "Running ${{ matrix.notebook }}"" + echo "Running ${{ matrix.notebook }}" jupyter nbconvert --to notebook --execute ${{ matrix.notebook }} --inplace