summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-05-01 18:37:34 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-05-01 18:46:54 +0530
commit39eb8a982830e94cd025e74cd7866c575c6fbd40 (patch)
treee58ec137392500dfc20264e1fa7df65cb15fc0ca
parentdec05f015a7cd2d76f1b72534cc1834f5c396387 (diff)
fix(ci): force-accept all licenses in shadow jobs
-rw-r--r--.github/workflows/shadow_job.yml5
1 files changed, 5 insertions, 0 deletions
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: