diff --git a/.github/workflows/build_packages.yml b/.github/workflows/build_packages.yml index 6c3fb81c47..3bd4597ea8 100644 --- a/.github/workflows/build_packages.yml +++ b/.github/workflows/build_packages.yml @@ -66,10 +66,20 @@ jobs: git fetch --no-tags --prune --depth=2 CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD || true) echo "$CHANGED_FILES" - echo "build_all=$(echo "$CHANGED_FILES" | grep -qE '^.github/workflows/build_packages.yml' && echo true || echo false)" >> $GITHUB_OUTPUT + if echo "$CHANGED_FILES" | grep -qE '^.github/workflows/build_packages.yml'; then + echo "build_all=true" >> $GITHUB_OUTPUT + else + echo "build_all=false" >> $GITHUB_OUTPUT + fi + + echo ">>> OUTPUT CONTENT <<<" + cat $GITHUB_OUTPUT - name: Verify build_all run: | - cat $GITHUB_OUTPUT + cat $GITHUB_OUTPUT + - name: Debug build_all + run: | + echo "build_all=${{ steps.changes.outputs.build_all }}" - name: Set matrix id: set-matrix run: |