From 4a26689a93fe623a4a4e4705d69d24f9b328fea1 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 22 May 2023 23:46:05 +0530 Subject: fix(github): use a different workaround for broken pipes This variant avoids false-positive error annotations --- .github/workflows/codeql_analysis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.github/workflows/codeql_analysis.yml') diff --git a/.github/workflows/codeql_analysis.yml b/.github/workflows/codeql_analysis.yml index e80df0b1..02986f1c 100644 --- a/.github/workflows/codeql_analysis.yml +++ b/.github/workflows/codeql_analysis.yml @@ -38,9 +38,8 @@ jobs: queries: +security-extended - name: Accept all SDK licenses - continue-on-error: true # GitHub Actions' stdout handling causes a harmless 'broken pipe' error shell: bash - run: yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses + run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses - name: Build project uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2 -- cgit v1.2.3