41
41
token : ${{ secrets.CLONE_PAT }}
42
42
submodules : ' recursive'
43
43
- name : Setup Xcode
44
- run : sudo xcode-select -s /Applications/Xcode_15.3 .app
44
+ run : sudo xcode-select -s /Applications/Xcode_${{ vars.XCODE }} .app
45
45
- name : ' Restore External Dep cache'
46
46
id : external-dep-cache
47
47
uses : actions/cache@v4
@@ -122,7 +122,7 @@ jobs:
122
122
token : ${{ secrets.CLONE_PAT }}
123
123
submodules : ' recursive'
124
124
- name : Setup Xcode
125
- run : sudo xcode-select -s /Applications/Xcode_15.3 .app
125
+ run : sudo xcode-select -s /Applications/Xcode_${{ vars.XCODE }} .app
126
126
- name : ' Restore External Dep cache'
127
127
id : external-dep-cache
128
128
uses : actions/cache@v4
@@ -190,13 +190,13 @@ jobs:
190
190
needs : [macOS, iOS]
191
191
steps :
192
192
- name : Setup Xcode
193
- run : sudo xcode-select -s /Applications/Xcode_15.3 .app
193
+ run : sudo xcode-select -s /Applications/Xcode_${{ vars.XCODE }} .app
194
194
- uses : actions/checkout@v4
195
- - name : Download macOS sdk
195
+ - name : Download macOS x64 sdk
196
196
uses : actions/download-artifact@v4
197
197
with :
198
198
name : mdk-sdk-macOS-x86_64-MinSizeRel
199
- - name : Download macOS sdk
199
+ - name : Download macOS arm64 sdk
200
200
uses : actions/download-artifact@v4
201
201
with :
202
202
name : mdk-sdk-macOS-arm64-MinSizeRel
@@ -1032,3 +1032,79 @@ jobs:
1032
1032
gh workflow run main.yml --repo ${{ github.repository_owner }}/mdk-nvjp2k -f run_id=${{ github.run_id }}
1033
1033
env :
1034
1034
GH_TOKEN : ${{ secrets.ACTION_PAT }} # GITHUB_TOKEN?
1035
+
1036
+ Release :
1037
+ runs-on : ubuntu-latest
1038
+ if : startsWith(github.ref, 'refs/tags/')
1039
+ needs : [Apple, NuGet, Linux, Android, ClangCL]
1040
+ steps :
1041
+ - name : Checkout
1042
+ uses : actions/checkout@v4
1043
+ - name : Download iOS sdk
1044
+ uses : actions/download-artifact@v4
1045
+ with :
1046
+ name : mdk-sdk-iOS-MinSizeRel
1047
+ - name : Download iOSSimulator sdk
1048
+ uses : actions/download-artifact@v4
1049
+ with :
1050
+ name : mdk-sdk-iOSSimulator-MinSizeRel
1051
+ - name : Download tvOS sdk
1052
+ uses : actions/download-artifact@v4
1053
+ with :
1054
+ name : mdk-sdk-tvOS-MinSizeRel
1055
+ - name : Download tvOSSimulator sdk
1056
+ uses : actions/download-artifact@v4
1057
+ with :
1058
+ name : mdk-sdk-tvOSSimulator-MinSizeRel
1059
+ - name : Download visionOS sdk
1060
+ uses : actions/download-artifact@v4
1061
+ with :
1062
+ name : mdk-sdk-visionOS-MinSizeRel
1063
+ - name : Download visionOSSimulator sdk
1064
+ uses : actions/download-artifact@v4
1065
+ with :
1066
+ name : mdk-sdk-visionOSSimulator-MinSizeRel
1067
+ - name : Download macCatalyst sdk
1068
+ uses : actions/download-artifact@v4
1069
+ with :
1070
+ name : mdk-sdk-macCatalyst-MinSizeRel
1071
+ - name : Download macOS sdk
1072
+ uses : actions/download-artifact@v4
1073
+ with :
1074
+ name : mdk-sdk-macOS
1075
+ - name : Download Apple sdk
1076
+ uses : actions/download-artifact@v4
1077
+ with :
1078
+ name : mdk-sdk-apple
1079
+ - name : Download win32 vs2022 sdk
1080
+ uses : actions/download-artifact@v4
1081
+ with :
1082
+ name : mdk-sdk-vs2022-windows-desktop-RelWithDebInfo
1083
+ - name : Download win32 vs2022 ltl sdk
1084
+ uses : actions/download-artifact@v4
1085
+ with :
1086
+ name : mdk-sdk-vs2022-ltl-windows-desktop-RelWithDebInfo
1087
+ - name : Download uwp vs2022 sdk
1088
+ uses : actions/download-artifact@v4
1089
+ with :
1090
+ name : mdk-sdk-vs2022-uwp-RelWithDebInfo
1091
+ - name : Download clang-cl sdk
1092
+ uses : actions/download-artifact@v4
1093
+ with :
1094
+ name : mdk-sdk-clang-windows-desktop-MinSizeRel
1095
+ - name : Download linux sdk
1096
+ uses : actions/download-artifact@v4
1097
+ with :
1098
+ name : mdk-sdk-linux-MinSizeRel
1099
+ - name : Download android sdk
1100
+ uses : actions/download-artifact@v4
1101
+ with :
1102
+ name : mdk-sdk-android-MinSizeRel
1103
+ - name : Release
1104
+ uses : softprops/action-gh-release@v2
1105
+ with :
1106
+ draft : true
1107
+ body_path : Changelog.md
1108
+ files : |
1109
+ *.7z
1110
+ *.xz
0 commit comments