diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6f875c8..9e7f24b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,33 +6,15 @@ on: jobs: build: - runs-on: macos-latest + runs-on: macos-15 steps: - name: Checkout code uses: actions/checkout@v3 - - - name: Apple Xcode Select - uses: BoundfoxStudios/action-xcode-select@v1 - with: - version: latest - beta: false - - - name: Build iOS - uses: sersoft-gmbh/xcodebuild-action@v3 - with: - project: Example/HierarchyResponderExample.xcodeproj - scheme: HierarchyResponderExample - destination: generic/platform=iOS Simulator - action: build - - - name: Build Mac Raw - run: swift build - - name: Build Watch - uses: sersoft-gmbh/xcodebuild-action@v3 + - name: Build Apple Platforms Action + uses: EmilioPelaez/build-apple-platforms@v1.0.0 with: - project: Example/HierarchyResponderExample.xcodeproj - scheme: HierarchyResponderExampleWatch - destination: generic/platform=watchOS Simulator - action: build + project: 'Example/HierarchyResponderExample.xcodeproj' + scheme: 'HierarchyResponderExample' + watch_scheme: 'HierarchyResponderExampleWatch'