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/draft_new_release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.github/workflows/draft_new_release.yml') diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml index 8f34d69a..a0de05f2 100644 --- a/.github/workflows/draft_new_release.yml +++ b/.github/workflows/draft_new_release.yml @@ -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 -- cgit v1.2.3