ci: Don't break on very large PRs

Fix from https://github.com/appsmithorg/appsmith-ee/pull/4600
This commit is contained in:
Shrikant Sharat Kandula 2024-07-03 14:15:25 +05:30 committed by GitHub
parent daeeb21fdb
commit 9b4463602a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,17 +78,17 @@ jobs:
- name: Get changed files in the server folder
id: changed-files-specific
uses: tj-actions/changed-files@v41
uses: tj-actions/changed-files@v44
with:
files: "app/server/**"
write_output_files: true
- name: Run step if any file(s) in the server folder change
if: steps.changed-files-specific.outputs.any_changed == 'true'
env:
ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
run: |
echo "One or more files in the server folder has changed."
echo "List all the files that have changed: $ALL_CHANGED_FILES"
echo "List all the files that have changed:"
cat "${{ github.workspace }}/.github/outputs/all_changed_files.txt"
# In case this is second attempt try restoring status of the prior attempt from cache
- name: Restore the previous run result