fix(github): force-accept all Android SDK licenses
This commit is contained in:
parent
0d09db3d76
commit
e96f816501
8 changed files with 65 additions and 0 deletions
5
.github/workflows/codeql_analysis.yml
vendored
5
.github/workflows/codeql_analysis.yml
vendored
|
@ -37,6 +37,11 @@ jobs:
|
|||
tools: latest
|
||||
queries: +security-extended
|
||||
|
||||
- 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 project
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
with:
|
||||
|
|
5
.github/workflows/deploy_github_releases.yml
vendored
5
.github/workflows/deploy_github_releases.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
5
.github/workflows/deploy_snapshot.yml
vendored
5
.github/workflows/deploy_snapshot.yml
vendored
|
@ -37,6 +37,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 app
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
env:
|
||||
|
|
5
.github/workflows/draft_new_release.yml
vendored
5
.github/workflows/draft_new_release.yml
vendored
|
@ -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: |
|
||||
|
|
30
.github/workflows/pull_request.yml
vendored
30
.github/workflows/pull_request.yml
vendored
|
@ -50,6 +50,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: Check codestyle
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
with:
|
||||
|
@ -81,6 +86,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 unit tests
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
with:
|
||||
|
@ -119,6 +129,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 debug APKs
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
with:
|
||||
|
@ -150,6 +165,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: Check library API
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
with:
|
||||
|
@ -181,6 +201,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 Lint on debug variants
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
with:
|
||||
|
@ -212,6 +237,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 Lint
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
with:
|
||||
|
|
5
.github/workflows/sync_crowdin.yml
vendored
5
.github/workflows/sync_crowdin.yml
vendored
|
@ -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: Download new translations from Crowdin
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
with:
|
||||
|
|
|
@ -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: Download new publicsuffix data
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue