From 28d3560ef9f60829b31febbd451f44d04d300860 Mon Sep 17 00:00:00 2001 From: Emilio Pelaez Romero Date: Tue, 24 Dec 2024 16:03:45 -0600 Subject: [PATCH] Use Custom Action (#3) * Update Mac Build Step * Build Vision * macos-15 runner * Testing Empty Workspace Value * Revert "Testing Empty Workspace Value" This reverts commit 2a198a83e31927c5e9e3aea0c1975e9494d27773. * tvOS Build * Use Custom Action * Use Version instead of Branch * Use exact version * Use Major Version * Revert "Use Major Version" This reverts commit ca602c3de867efd0e54893cf2d6d7f0716884fc4. * Revert "Revert "Use Major Version"" This reverts commit ead556f277ac7de104126b1dca21e83c4f74b018. * Use v1.0.0 --- .github/workflows/build.yml | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) 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'