aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/draft_new_release.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/draft_new_release.yml
parent0d09db3d7667bbc5bbb885de3e8f5dba9d285700 (diff)
fix(github): force-accept all Android SDK licenses
Diffstat (limited to '.github/workflows/draft_new_release.yml')
-rw-r--r--.github/workflows/draft_new_release.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml
index 26f0cde5..8f34d69a 100644
--- a/.github/workflows/draft_new_release.yml
+++ b/.github/workflows/draft_new_release.yml
@@ -52,6 +52,11 @@ jobs:
with:
gradle-home-cache-cleanup: true
+ - 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: Initialize git config and commit changes
shell: bash
run: |