From e96f8165016a4279a9bb0323538004e4bbeaeb02 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 20 May 2023 15:05:47 +0530 Subject: fix(github): force-accept all Android SDK licenses --- .github/workflows/deploy_github_releases.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github/workflows/deploy_github_releases.yml') diff --git a/.github/workflows/deploy_github_releases.yml b/.github/workflows/deploy_github_releases.yml index f5f8d3da..e2e2c503 100644 --- a/.github/workflows/deploy_github_releases.yml +++ b/.github/workflows/deploy_github_releases.yml @@ -26,6 +26,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: Build release binaries uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2 with: -- cgit v1.2.3