From 8898145c52ce32ce6ef5f160994ede103d0b2ed6 Mon Sep 17 00:00:00 2001 From: Ben <31181527+benedom@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:14:40 +0200 Subject: Update swift.yml --- .github/workflows/swift.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index b7076e5..f5ae689 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -11,6 +11,12 @@ on: jobs: build: + strategy: + matrix: + platform: + - iOS + xcode: + - ^15 runs-on: macos-latest @@ -19,5 +25,7 @@ jobs: - uses: swift-actions/setup-swift@v1 - name: Get swift version run: swift --version - - name: Build and test - run: xcodebuild test -scheme SwiftyCrop -destination 'platform=iOS Simulator,name=iPhone 15,OS=latest' + - uses: mxcl/xcodebuild@v1 + with: + xcode: ${{ matrix.xcode }} + platform: ${{ matrix.platform }} -- cgit v1.2.3