From 3d5762ae65891ba72787bc869affb72fb6ccaca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Junnos=20=EF=A3=BF?= Date: Mon, 27 Nov 2023 15:33:13 +0900 Subject: [PATCH] =?UTF-8?q?:construction=5Fworker:=20grep=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Xcode_build_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Xcode_build_test.yml b/.github/workflows/Xcode_build_test.yml index c88f162..55cb271 100644 --- a/.github/workflows/Xcode_build_test.yml +++ b/.github/workflows/Xcode_build_test.yml @@ -80,7 +80,7 @@ jobs: run: | matrix="{\"include\":[" first_entry=true - for scheme in $(xcodebuild -workspace ${{ env.WORKSPACE }} -list | grep -E '^[[:space:]]*Schemes:' -A 10 | tail -n +2 | grep -v '^$'); do + for scheme in $(xcodebuild -workspace ${{ env.WORKSPACE }} -list | grep -A 100 "Schemes:" | grep -v "Schemes:" | sed '/^$/d' | sed 's/^[ \t]*//'); do if [[ $scheme == *"Tests" ]]; then if [ "$first_entry" = true ]; then first_entry=false