From 7ee6bcf274ae95ad265a02e97e7a49737c84f418 Mon Sep 17 00:00:00 2001 From: Tim Camise Date: Wed, 10 Apr 2024 17:45:36 -0700 Subject: [PATCH] Fix Python SDK Doc Build --- .github/workflows/github-pages.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 315ad024..de10fe5b 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -38,7 +38,7 @@ jobs: name: Check modified files for Python SDK changes runs-on: ubuntu-latest outputs: - run_job: ${{ steps.check_files.outputs.run_job }} + build_python_sdk: ${{ steps.check_files.outputs.found_modified_python_file }} steps: - name: Checkout code uses: actions/checkout@v3 @@ -54,10 +54,10 @@ jobs: git diff --name-only HEAD^ HEAD >files.txt while IFS= read -r file; do if [[ $file != demos/python/sdk_wireless_camera_control* ]]; then - echo "{run_job}={false}" >> $GITHUB_OUTPUT + echo "found_modified_python_file=false" >> "$GITHUB_OUTPUT" else echo "Found a Python SDK modified file" - echo "{run_job}={true}" >> $GITHUB_OUTPUT + echo "found_modified_python_file=true" >> "$GITHUB_OUTPUT" break fi done