From d010394bdbbf5618d0a4a57c98edbb683cb0ee84 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Tue, 14 Sep 2021 14:13:56 +0200 Subject: [PATCH] Fix syntax error --- .github/workflows/android.yml | 2 +- build.gradle | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 1f77ca182..65f4d06b6 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -100,6 +100,6 @@ jobs: run: ./gradlew detekt - name: Upload SARIF to Github using the upload-sarif action uses: github/codeql-action/upload-sarif@v1 - if: $ + if: ${{ always() }} with: sarif_file: build/report/detekt.sarif diff --git a/build.gradle b/build.gradle index ce4964dc3..8fe89a94b 100644 --- a/build.gradle +++ b/build.gradle @@ -36,16 +36,16 @@ detekt { baseline = file("${rootProject.projectDir}/detekt_baseline.xml") reports { xml { - enabled = true // Enable/Disable XML report (default: true) - destination = file("build/reports/detekt.xml") // Path where XML report will be stored (default: `build/reports/detekt/detekt.xml`) + enabled = true + destination = file("build/reports/detekt.xml") } html { - enabled = true // Enable/Disable HTML report (default: true) - destination = file("build/reports/detekt.html") // Path where HTML report will be stored (default: `build/reports/detekt/detekt.html`) + enabled = true + destination = file("build/reports/detekt.html") } sarif { - enabled = true // Enable/Disable TXT report (default: true) - destination = file("build/reports/detekt.sarif") // Path where TXT report will be stored (default: `build/reports/detekt/detekt.txt`) + enabled = true + destination = file("build/reports/detekt.sarif") } } } \ No newline at end of file