Skip to content

Commit 3c85559

Browse files
committed
build(ci): clean before tests
1 parent b2f76a2 commit 3c85559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: List Files
2828
run: find -maxdepth 1 -type d
2929
- name: Execute tests
30-
run: ./gradlew check --debug || (exitcode=$?; find build/tests -name '*.log' -type f | while read f; do echo -e "\033[4m$f\033[0m"; cat $f; done && return $exitcode)
30+
run: ./gradlew clean check || ( exitcode=$?; find build/tests -name '*.log' -type f | while read f; do echo -e "\033[4m$f\033[0m"; cat $f; done && exit $exitcode; )
3131
- name: Bundle Artifacts
3232
run: ./gradlew bundle
3333
- name: Upload Artifacts

0 commit comments

Comments
 (0)