88
99jobs :
1010 xcframework :
11+ strategy :
12+ matrix :
13+ os : [macOS-13]
14+ xcode : ['15.0']
15+
1116 name : Upload XCFramework Assets
12- runs-on : macOS-11
17+ runs-on : ${{ matrix.os }}
1318 env :
1419 TMPDIR : /tmp/.cborcoding.assets-xcframework.build
1520
1621 steps :
22+ - name : Select Xcode Version
23+ uses : maxim-lobanov/setup-xcode@v1
24+ with :
25+ xcode-version : ${{ matrix.xcode }}
26+
1727 - name : Checkout Code
18- uses : actions/checkout@v2
28+ uses : actions/checkout@v4
29+ with :
30+ submodules : recursive
1931
2032 - name : Setup Environment
2133 run : |
5769 asset_content_type : application/gzip
5870
5971 - name : Upload Logs
60- uses : actions/upload-artifact@v2
72+ uses : actions/upload-artifact@v3
6173 if : always()
6274 with :
6375 name : XCFrameworkLogs
@@ -66,14 +78,26 @@ jobs:
6678
6779
6880 documentation :
81+ strategy :
82+ matrix :
83+ os : [macOS-13]
84+ xcode : ['15.0']
85+
6986 name : Upload Documentation Assets
70- runs-on : macOS-11
87+ runs-on : ${{ matrix.os }}
7188 env :
7289 TMPDIR : /tmp/.cborcoding.assets-documentation.build
7390
7491 steps :
92+ - name : Select Xcode Version
93+ uses : maxim-lobanov/setup-xcode@v1
94+ with :
95+ xcode-version : ${{ matrix.xcode }}
96+
7597 - name : Checkout Code
76- uses : actions/checkout@v2
98+ uses : actions/checkout@v4
99+ with :
100+ submodules : recursive
77101
78102 - name : Setup Environment
79103 run : |
82106
83107 - name : Build
84108 run : |
85- xcodebuild docbuild -project "CBORCoding.xcodeproj " -scheme "CBORCoding" -destination "generic/platform=iOS" -derivedDataPath "${TMPDIR}/.docbuild" 2>&1 | tee "${TMPDIR}/Logs/Build.log"
109+ xcodebuild docbuild -workspace "CBORCoding.xcworkspace " -scheme "CBORCoding" -destination "generic/platform=iOS" -derivedDataPath "${TMPDIR}/.docbuild" 2>&1 | tee "${TMPDIR}/Logs/Build.log"
86110
87111 DOCC_ARCHIVE="$(find "${TMPDIR}/.docbuild" -type d -name "CBORCoding.doccarchive")"
88112 mv "${DOCC_ARCHIVE%/}" "${TMPDIR}/Output/CBORCoding.doccarchive"
@@ -118,7 +142,7 @@ jobs:
118142 asset_content_type : application/gzip
119143
120144 - name : Upload Logs
121- uses : actions/upload-artifact@v2
145+ uses : actions/upload-artifact@v3
122146 if : always()
123147 with :
124148 name : DocumentationLogs
0 commit comments