-
Notifications
You must be signed in to change notification settings - Fork 17
39 lines (34 loc) · 891 Bytes
/
base_build.yaml
File metadata and controls
39 lines (34 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build
on:
workflow_call:
inputs:
destination:
description: Destination
required: true
type: string
scheme:
description: Scheme to use
required: true
type: string
jobs:
build:
runs-on: [macos-latest]
steps:
- name: Select Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 16
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
uses: sersoft-gmbh/xcodebuild-action@v3
with:
action: build
build-settings: ONLY_ACTIVE_ARCH=NO TEST_AFTER_BUILD=NO
configuration: Debug
derived-data-path: "${{ github.workspace }}/SplitApp"
destination: ${{ inputs.destination }}
project: Split.xcodeproj
scheme: ${{ inputs.scheme }}