aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/codeql_analysis.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-05-22 23:46:05 +0530
committerGitHub <noreply@github.com>2023-05-22 23:46:05 +0530
commit4a26689a93fe623a4a4e4705d69d24f9b328fea1 (patch)
tree40df1f330abe66cab287af0721f9e1b54fd81b23 /.github/workflows/codeql_analysis.yml
parente682b14cf2f7185e2b5a0551f034a85026005b2c (diff)
downloadHardenedPass-4a26689a93fe623a4a4e4705d69d24f9b328fea1.tar.gz
HardenedPass-4a26689a93fe623a4a4e4705d69d24f9b328fea1.zip
fix(github): use a different workaround for broken pipes
This variant avoids false-positive error annotations
Diffstat (limited to '.github/workflows/codeql_analysis.yml')
-rw-r--r--.github/workflows/codeql_analysis.yml3
1 files changed, 1 insertions, 2 deletions
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