From 0ee29ff10af8b82a449528018d201e82c9c798a0 Mon Sep 17 00:00:00 2001 From: 417-72KI <417.72ki@gmail.com> Date: Sun, 17 Sep 2023 00:28:02 +0900 Subject: [PATCH] fix matrix --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1cc2e34..9f77b0b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,13 +29,14 @@ jobs: runs-on: macOS-latest strategy: fail-fast: false - matrix: + matrix: destination: - 'platform=macOS' - 'platform=macOS,variant=Mac Catalyst' - 'platform=iOS Simulator,name=iPhone 11 Pro' - 'platform=tvOS Simulator,name=Apple TV' - 'platform=watchOS Simulator,name=Apple Watch Series 5 (40mm)' + xcode_version: ${{ fromJson(needs.generate-matrix.outputs.matrix).xcode_version }} env: DEVELOPER_DIR: /Applications/Xcode_${{ needs.generate-matrix.outputs.latest-xcode-version }}.app/Contents/Developer steps: @@ -69,6 +70,7 @@ jobs: path: test_output - name: Merge xcresult files run: + cat test_output xcrun xcresulttool merge test_output/**/*.xcresult --output-path test_output/TestResults.xcresult - uses: kishikawakatsumi/xcresulttool@v1 if: success() || failure()