From d7e1504d013ccd409632e5a55b7eb304df37a5a2 Mon Sep 17 00:00:00 2001 From: ieow Date: Tue, 26 Mar 2024 12:55:47 +0800 Subject: [PATCH] update ci --- .github/workflows/main.yml | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 65f78f6..c6e5d14 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,19 +17,14 @@ on: # Checkout the code, and run mxcl's xcodebuild action to run the unit tests jobs: - build: - runs-on: macOS-latest - strategy: - matrix: - platform: - - iOS + test: + runs-on: macos-latest steps: - - uses: actions/checkout@v2.3.4 - - uses: mxcl/xcodebuild@v1 + - name: checkout + uses: actions/checkout@v3 + - name: xcode + uses: maxim-lobanov/setup-xcode@v1 with: - platform: ${{ matrix.platform }} - action: test - scheme: SingleFactorAuth - code-coverage: true - upload-logs: always - + xcode-version: "14.2.0" + - name: package + run: xcodebuild test -scheme SingleFactorAuth -destination "platform=iOS Simulator,OS=16.2,name=iPhone 14" COMPILER_INDEX_STORE_ENABLE=NO