Skip to content

Commit 541e55c

Browse files
committed
Update ios.yml
1 parent 972b8e5 commit 541e55c

File tree

2 files changed

+12
-18
lines changed

2 files changed

+12
-18
lines changed

.github/workflows/ios.yml

+11-17
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
11
name: iOS Build
22

33
on:
4+
push:
5+
branches: [ "master" ]
46
pull_request:
5-
branches:
6-
- master
7+
branches: [ "master" ]
78

89
jobs:
910
build:
1011
runs-on: macos-latest
11-
1212
steps:
13+
- uses: maxim-lobanov/setup-xcode@v1
14+
with:
15+
xcode-version: '16.1.0'
16+
1317
- name: Checkout repository
1418
uses: actions/checkout@v4
1519

1620
- name: Install Tuist
1721
run: |
18-
mise install tuist
19-
20-
- name: Generate Project with Tuist
21-
run: |
22-
tuist install
23-
tuist generate
24-
25-
- name: Select Xcode version
26-
run: sudo xcode-select -switch /Applications/Xcode.app
22+
brew tap tuist/tuist
23+
brew install --formula [email protected]
2724
2825
- name: Build iOS App
2926
run: |
30-
xcodebuild build \
31-
-workspace ModernCleanArchtecture.xcworkspace \
32-
-scheme Example \
33-
-configuration Debug \
34-
-destination 'platform=iOS Simulator,name=iPhone 14,OS=latest'
27+
tuist install
28+
tuist build Example --generate

Tuist/Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.9
1+
// swift-tools-version: 6.0
22
import PackageDescription
33

44
#if TUIST

0 commit comments

Comments
 (0)