fix(github): use a different workaround for broken pipes
This variant avoids false-positive error annotations
This commit is contained in:
parent
e682b14cf2
commit
4a26689a93
9 changed files with 14 additions and 28 deletions
3
.github/workflows/codeql_analysis.yml
vendored
3
.github/workflows/codeql_analysis.yml
vendored
|
@ -38,9 +38,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Build project
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
|
3
.github/workflows/deploy_github_releases.yml
vendored
3
.github/workflows/deploy_github_releases.yml
vendored
|
@ -27,9 +27,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Build release binaries
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
|
|
@ -18,9 +18,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Upload binaries
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
|
3
.github/workflows/deploy_snapshot.yml
vendored
3
.github/workflows/deploy_snapshot.yml
vendored
|
@ -38,9 +38,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Build release app
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
|
3
.github/workflows/draft_new_release.yml
vendored
3
.github/workflows/draft_new_release.yml
vendored
|
@ -53,9 +53,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Initialize git config and commit changes
|
||||
shell: bash
|
||||
|
|
18
.github/workflows/pull_request.yml
vendored
18
.github/workflows/pull_request.yml
vendored
|
@ -51,9 +51,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Check codestyle
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
@ -87,9 +86,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Run unit tests
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
@ -130,9 +128,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Build debug APKs
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
@ -166,9 +163,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Check library API
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
@ -202,9 +198,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Run Lint on debug variants
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
@ -238,9 +233,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Run Lint
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
|
3
.github/workflows/shadow_job.yml
vendored
3
.github/workflows/shadow_job.yml
vendored
|
@ -48,9 +48,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Run checks
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
|
3
.github/workflows/sync_crowdin.yml
vendored
3
.github/workflows/sync_crowdin.yml
vendored
|
@ -18,9 +18,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Download new translations from Crowdin
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
|
|
@ -18,9 +18,8 @@ jobs:
|
|||
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
|
||||
run: printf 'y\ny\ny\ny\ny\n' | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
- name: Download new publicsuffix data
|
||||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
||||
|
|
Loading…
Reference in a new issue