ci: Don't break on very large PRs
Fix from https://github.com/appsmithorg/appsmith-ee/pull/4600
This commit is contained in:
parent
daeeb21fdb
commit
9b4463602a
8
.github/workflows/server-build.yml
vendored
8
.github/workflows/server-build.yml
vendored
|
|
@ -78,17 +78,17 @@ jobs:
|
||||||
|
|
||||||
- name: Get changed files in the server folder
|
- name: Get changed files in the server folder
|
||||||
id: changed-files-specific
|
id: changed-files-specific
|
||||||
uses: tj-actions/changed-files@v41
|
uses: tj-actions/changed-files@v44
|
||||||
with:
|
with:
|
||||||
files: "app/server/**"
|
files: "app/server/**"
|
||||||
|
write_output_files: true
|
||||||
|
|
||||||
- name: Run step if any file(s) in the server folder change
|
- name: Run step if any file(s) in the server folder change
|
||||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
||||||
env:
|
|
||||||
ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
|
|
||||||
run: |
|
run: |
|
||||||
echo "One or more files in the server folder has changed."
|
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
|
# In case this is second attempt try restoring status of the prior attempt from cache
|
||||||
- name: Restore the previous run result
|
- name: Restore the previous run result
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user