aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/deploy_library_releases.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-05-20 15:05:47 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-05-20 23:50:39 +0530
commite96f8165016a4279a9bb0323538004e4bbeaeb02 (patch)
tree49e4b13ed73c2f7f0cfd3337f50d7e50a037b092 /.github/workflows/deploy_library_releases.yml
parent0d09db3d7667bbc5bbb885de3e8f5dba9d285700 (diff)
fix(github): force-accept all Android SDK licenses
Diffstat (limited to '.github/workflows/deploy_library_releases.yml')
-rw-r--r--.github/workflows/deploy_library_releases.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/deploy_library_releases.yml b/.github/workflows/deploy_library_releases.yml
index ddb61b6f..8a485d1c 100644
--- a/.github/workflows/deploy_library_releases.yml
+++ b/.github/workflows/deploy_library_releases.yml
@@ -17,6 +17,11 @@ jobs:
distribution: temurin
java-version: 18
+ - 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: Upload binaries
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
with: