File tree 1 file changed +26
-27
lines changed
1 file changed +26
-27
lines changed Original file line number Diff line number Diff line change @@ -2,35 +2,34 @@ name: Swift
2
2
3
3
on :
4
4
push :
5
- branches: [ main ]
5
+ branches : [ main ]
6
6
pull_request :
7
- branches: [ main ]
7
+ branches : [ main ]
8
8
9
9
jobs :
10
10
cancel_previous :
11
- permissions: write-all
12
- runs-on: ubuntu-latest
13
- steps:
14
-
15
- with:
16
- workflow_id: ${{ github.event.workflow.id }}
17
-
11
+ permissions : write-all
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+
15
+ with :
16
+ workflow_id : ${{ github.event.workflow.id }}
17
+
18
18
build_and_test_examples :
19
- needs : cancel_previous
20
- runs-on : macos-11
21
- steps :
22
- - uses : maxim-lobanov/setup-xcode@v1
23
- with:
24
- xcode-version : '13.0'
25
- - uses : actions/checkout@v2
26
- - uses : actions/cache@v2
27
- with:
28
- path : /Users/runner/Library/Developer/Xcode/DerivedData
29
- key : ${{ runner.os }}-spm-examples-${{ hashFiles('**/Package.resolved') }}
30
- restore-keys : |
31
- ${{ runner.os }}-spm-examples
32
- - name : build for ios simulator
33
- run: |
34
- cd Example/BasicExample
35
- xcodebuild -workspace "BasicExample.xcworkspace" -scheme "BasicExample" -sdk iphonesimulator
36
-
19
+ needs : cancel_previous
20
+ runs-on : macos-11
21
+ steps :
22
+ - uses : maxim-lobanov/setup-xcode@v1
23
+ with :
24
+ xcode-version : ' 13.2.1'
25
+ - uses : actions/checkout@v2
26
+ - uses : actions/cache@v2
27
+ with :
28
+ path : /Users/runner/Library/Developer/Xcode/DerivedData
29
+ key : ${{ runner.os }}-spm-examples-${{ hashFiles('**/Package.resolved') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-spm-examples
32
+ - name : build for ios simulator
33
+ run : |
34
+ cd Example/BasicExample
35
+ xcodebuild -project "BasicExample.xcodeproj" -scheme "BasicExample" -sdk iphonesimulator
You can’t perform that action at this time.
0 commit comments