From 6952fd04addf8028f9aac355358952eb0756c500 Mon Sep 17 00:00:00 2001 From: MPhalke Date: Tue, 17 Oct 2023 08:56:52 +0530 Subject: [PATCH] edit --- .github/workflows/build_projects.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_projects.yaml b/.github/workflows/build_projects.yaml index 647b0bfb..1ca6b0bb 100644 --- a/.github/workflows/build_projects.yaml +++ b/.github/workflows/build_projects.yaml @@ -21,9 +21,10 @@ jobs: - name: Get file changes id: changed-files - uses: tj-actions/changed-files@v39 - with: | - echo "${{ steps.changed-files.outputs.modified_files }}" + run: | + echo "changed_files=$(git diff --name-only -r HEAD^1 HEAD | xargs)" >> $GITHUB_OUTPUT + $changed_files = git diff --name-only HEAD^ HEAD + echo "${{ changed_files }}" echo "${{ matrix.project }}" - name: Update submodules recursively