File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,14 @@ jobs:
3030 with :
3131 language : ${{ matrix.language }}
3232
33- # Get the list of changed files, excluding Markdown files
33+ # Get the list of changed files, excluding Markdown files and deleted files
3434 - name : Get changed files
3535 id : changed-files
3636 uses : tj-actions/changed-files@27ae6b33eaed7bf87272fdeb9f1c54f9facc9d99
3737 with :
3838 files : ${{ matrix.language }}/**
3939 files_ignore : ' **/*.md'
40+ files_separator : ' '
4041
4142 # Build the changed files for the specified language
4243 - name : Build changed files
7374 # Create an array to store directories to be built
7475 apps_to_build=()
7576
76- files=(${{ steps.changed-files.outputs.all_modified_files }})
77+ # Use only added and modified files, ignoring deleted files
78+ files=(${{ steps.changed-files.outputs.added_files }} ${{ steps.changed-files.outputs.modified_files }})
7779
7880 # Check the directories of each changed file for cdk.json
7981 for file in "${files[@]}"; do
You can’t perform that action at this time.
0 commit comments