From 39eb8a982830e94cd025e74cd7866c575c6fbd40 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 1 May 2023 18:37:34 +0530 Subject: fix(ci): force-accept all licenses in shadow jobs --- .github/workflows/shadow_job.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github') diff --git a/.github/workflows/shadow_job.yml b/.github/workflows/shadow_job.yml index 2801eda8..1bba3d0a 100644 --- a/.github/workflows/shadow_job.yml +++ b/.github/workflows/shadow_job.yml @@ -47,6 +47,11 @@ jobs: - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties + - 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 + - name: Run checks uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2 env: -- cgit v1.2.3