From 5be5ae56e132eee69202731a07b62bdb3488851a Mon Sep 17 00:00:00 2001 From: Lim_Hosung <54823522+HiHoi@users.noreply.github.com> Date: Mon, 25 Mar 2024 20:14:19 +0900 Subject: [PATCH] fix: change ci setting --- .github/workflows/Test_Build.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Test_Build.yml b/.github/workflows/Test_Build.yml index f32ba22..0fd1ac3 100644 --- a/.github/workflows/Test_Build.yml +++ b/.github/workflows/Test_Build.yml @@ -21,6 +21,9 @@ jobs: runs-on: macos-14 steps: - uses: actions/checkout@v3 + - uses: szenius/set-timezone@v1.2 + with: + timezoneWindows: "Singapore Standard Time" - name: Install pods run: | @@ -34,15 +37,14 @@ jobs: - name: Run Test run: | - xcodebuild build clean \ - -workspace ./HANE24.xcworkspace \ + xcodebuild -workspace ./HANE24.xcworkspace \ -scheme 24HANE \ -destination 'platform=iOS Simulator,name=iPhone 14 Pro' \ - CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=YES test | xcpretty -c; echo "::set-output name=result::${PIPESTATUS[0]}"; echo "${PIPESTATUS[0]}" + -resultBundlePath TestResults test - - name: Check Test Result - if: steps.logger_tests.outputs.result != 0 - run: | - echo "Tests Failed"; exit 1 + - uses: kishikawakatsumi/xcresulttool@v1 + with: + path: TestResults.xcresult + if: success() || failure()