From 377b5572dc568e57fd3b1efd4996e372afdcdfef Mon Sep 17 00:00:00 2001 From: Kayyow Date: Wed, 14 Jan 2026 15:56:01 +0100 Subject: [PATCH] fix: generate-testing-matrix step when there are no files to pass to the script --- .github/workflows/build-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ab226b41a..e46e26a10 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -39,9 +39,9 @@ jobs: script: | const script = require(`${process.env.GITHUB_WORKSPACE}/genMatrix.js`) return script( - ${{ steps.diff.outputs.added_files }}, - ${{ steps.diff.outputs.modified_files }}, - ${{ steps.diff.outputs.renamed_files }}, + ${{ steps.diff.outputs.added_files || '[]' }}, + ${{ steps.diff.outputs.modified_files || '[]' }}, + ${{ steps.diff.outputs.renamed_files || '[]' }}, ); outputs: