Skip to content

Commit

Permalink
Trying to print errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rchhaya authored May 7, 2024
1 parent 7e3843d commit 5e05769
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/android-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ jobs:
with:
name: reports
path: PennMobile/build/reports

ktlint-check:
name: Check Kotlin Code Style
runs-on: ubuntu-latest
Expand All @@ -170,10 +171,12 @@ jobs:
- name: Run ktlint
run: |
ktlint --reporter=plain > ktlint_errors.txt || true
set -o pipefail
ktlint --reporter=plain > ktlint_errors.txt
continue-on-error: true

- name: Display ktlint errors
if: failure()
if: ${{ failure() }}
run: cat ktlint_errors.txt

# Publish to Firebase App Distribution
Expand Down

0 comments on commit 5e05769

Please sign in to comment.