@@ -54,10 +54,22 @@ jobs:
5454 - name : Update mtime for incremental builds
5555 uses : chetan/git-restore-mtime-action@v2
5656 - name : Debug
57- run : make COMMAND="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
57+ uses : capturecontext/swift-package-action@1.0
58+ with :
59+ - command : xcodebuild
60+ - subcommand : ${{ matrix.command }}
61+ - platform : ${{ matrix.platform }}
62+ - scheme : ComposableArchitecture
63+ - config : Debug
5864 - name : Release
5965 if : matrix.skip_release != '1'
60- run : make COMMAND="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
66+ uses : capturecontext/swift-package-action@1.0
67+ with :
68+ - command : xcodebuild
69+ - subcommand : ${{ matrix.command }}
70+ - platform : ${{ matrix.platform }}
71+ - scheme : ComposableArchitecture
72+ - config : Release
6173
6274 library-evolution :
6375 name : Library (evolution)
6779 - name : Select Xcode 15.4
6880 run : sudo xcode-select -s /Applications/Xcode_15.4.app
6981 - name : Build for library evolution
70- run : make build-for-library-evolution
82+ uses : capturecontext/swift-package-action@1.0
83+ with :
84+ - command : build-for-library-evolution
85+ - scheme : ComposableArchitecture
7186
7287 examples :
7388 name : Examples
@@ -89,18 +104,50 @@ jobs:
89104 - name : Update mtime for incremental builds
90105 uses : chetan/git-restore-mtime-action@v2
91106 - name : CaseStudies (SwiftUI)
92- run : make SCHEME="CaseStudies (SwiftUI)" test-example
107+ uses : capturecontext/swift-package-action@1.0
108+ with :
109+ - command : test-example
110+ - scheme : CaseStudies (SwiftUI)
111+ - platform : iOS
93112 - name : CaseStudies (UIKit)
94- run : make SCHEME="CaseStudies (UIKit)" test-example
113+ uses : capturecontext/swift-package-action@1.0
114+ with :
115+ - command : test-example
116+ - scheme : CaseStudies (UIKit)
117+ - platform : iOS
95118 - name : Search
96- run : make SCHEME="Search" test-example
119+ uses : capturecontext/swift-package-action@1.0
120+ with :
121+ - command : test-example
122+ - scheme : Search
123+ - platform : iOS
97124 - name : SyncUps
98- run : make SCHEME="SyncUps" test-example
125+ uses : capturecontext/swift-package-action@1.0
126+ with :
127+ - command : test-example
128+ - scheme : SyncUps
129+ - platform : iOS
99130 - name : SpeechRecognition
100- run : make SCHEME="SpeechRecognition" test-example
131+ uses : capturecontext/swift-package-action@1.0
132+ with :
133+ - command : test-example
134+ - scheme : SpeechRecognition
135+ - platform : iOS
101136 - name : TicTacToe
102- run : make SCHEME="TicTacToe" test-example
137+ uses : capturecontext/swift-package-action@1.0
138+ with :
139+ - command : test-example
140+ - scheme : TicTacToe
141+ - platform : iOS
103142 - name : Todos
104- run : make SCHEME="Todos" test-example
143+ uses : capturecontext/swift-package-action@1.0
144+ with :
145+ - command : test-example
146+ - scheme : Todos
147+ - platform : iOS
105148 - name : VoiceMemos
106- run : make SCHEME="VoiceMemos" test-example
149+ uses : capturecontext/swift-package-action@1.0
150+ with :
151+ - command : test-example
152+ - scheme : VoiceMemos
153+ - platform : iOS
0 commit comments