Skip to content

Commit d0924a7

Browse files
committed
Test 5
1 parent a5b8fb4 commit d0924a7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/run-examples-jing.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ jobs:
9898
git config --local user.name github-actions[bot]
9999
git config --local user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
100100
git status
101-
if ! git diff --exit-code; then
102-
git add tests/results/
103-
git commit -m "GH Action updated results file when running examples $(date)"
104-
git push
105-
fi
101+
git add tests/results/
102+
git diff --cached --quiet || git commit -m "GH Action updated results file when running examples $(date)"
103+
git push

0 commit comments

Comments
 (0)