Skip to content

Commit a552005

Browse files
Update android-workflow.yaml
Change the yaml such that the errors show up with the fail tab (more intuitive)
1 parent 338bb9c commit a552005

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/android-workflow.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,7 @@ jobs:
172172
- name: Run ktlint
173173
run: |
174174
set -o pipefail
175-
ktlint --reporter=plain > ktlint_errors.txt
176-
177-
- name: Check for ktlint errors
178-
if: ${{ failure() || steps.run_ktlint.exitCode == 1 }}
179-
run: cat ktlint_errors.txt
175+
ktlint --reporter=plain | tee ktlint_errors.txt
180176
181177
# Publish to Firebase App Distribution
182178
# https://github.com/wzieba/Firebase-Distribution-Github-Action

0 commit comments

Comments
 (0)