From 4a26689a93fe623a4a4e4705d69d24f9b328fea1 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 22 May 2023 23:46:05 +0530 Subject: fix(github): use a different workaround for broken pipes This variant avoids false-positive error annotations --- .github/workflows/deploy_library_releases.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.github/workflows/deploy_library_releases.yml') diff --git a/.github/workflows/deploy_library_releases.yml b/.github/workflows/deploy_library_releases.yml index 8a485d1c..4357e344 100644 --- a/.github/workflows/deploy_library_releases.yml +++ b/.github/workflows/deploy_library_releases.yml @@ -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 -- cgit v1.2.3