File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,10 +75,10 @@ jobs:
7575 run : mkdir artifacts
7676
7777 - name : Create a list of files that have changed
78- run : diff -rq ${{ github.workspace }}/build ${{ github.workspace }}/built-wordpress > artifacts/file-changes.txt || true
78+ run : diff -rq ${{ github.workspace }}/build ${{ github.workspace }}/built-wordpress | sed "s|${{ github.workspace }}/||g" > artifacts/file-changes.txt
7979
8080 - name : Create a list of files that have changed
81- run : diff -r ${{ github.workspace }}/build ${{ github.workspace }}/built-wordpress > artifacts/diff.patch || true
81+ run : diff -r ${{ github.workspace }}/build ${{ github.workspace }}/built-wordpress | sed "s|${{ github.workspace }}/||g" > artifacts/changes.diff
8282
8383 - name : Save PR number
8484 run : echo "${EVENT_NUMBER}" > ./artifacts/NR
You can’t perform that action at this time.
0 commit comments