File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 47
47
# expected.
48
48
- name : Compare Directories
49
49
id : diff
50
+ continue-on-error : true
50
51
run : |
51
52
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
52
53
echo "Detected uncommitted changes after build. See status below:"
55
56
fi
56
57
57
58
# If `dist` was different and this is a renovate commit, push the changes.
58
- - if : ${{ failure() && steps.diff.outcome == 'failure' && github.actor == 'renovate[bot]' }}
59
+ - if : ${{ steps.diff.outcome == 'failure' && github.actor == 'renovate[bot]' }}
59
60
name : Commit /dist Directory
60
61
uses : EndBug/add-and-commit@v9
61
62
with :
67
68
68
69
# If `dist/` was different than expected, upload the expected version as a
69
70
# workflow artifact.
70
- - if : ${{ failure() && steps.diff.outcome == 'failure' && github.actor != 'renovate[bot]' }}
71
+ - if : ${{ steps.diff.outcome == 'failure' && github.actor != 'renovate[bot]' }}
71
72
name : Upload Artifact
72
73
uses : actions/upload-artifact@v4
73
74
with :
You can’t perform that action at this time.
0 commit comments