Skip to content

Commit 70921ed

Browse files
committed
ci: Use continue on error
1 parent bbf2afb commit 70921ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/check-dist.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
# expected.
4848
- name: Compare Directories
4949
id: diff
50+
continue-on-error: true
5051
run: |
5152
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
5253
echo "Detected uncommitted changes after build. See status below:"
@@ -55,7 +56,7 @@ jobs:
5556
fi
5657
5758
# 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]' }}
5960
name: Commit /dist Directory
6061
uses: EndBug/add-and-commit@v9
6162
with:
@@ -67,7 +68,7 @@ jobs:
6768

6869
# If `dist/` was different than expected, upload the expected version as a
6970
# workflow artifact.
70-
- if: ${{ failure() && steps.diff.outcome == 'failure' && github.actor != 'renovate[bot]' }}
71+
- if: ${{ steps.diff.outcome == 'failure' && github.actor != 'renovate[bot]' }}
7172
name: Upload Artifact
7273
uses: actions/upload-artifact@v4
7374
with:

0 commit comments

Comments
 (0)