File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -102,14 +102,19 @@ jobs:
102
102
- uses : actions/download-artifact@v4
103
103
if : startsWith(github.ref, 'refs/heads/release/')
104
104
with :
105
- name : Sentry.xcframework .zip
105
+ name : xcframeworks .zip
106
106
path : Carthage/
107
107
github-token : ${{ secrets.GITHUB_TOKEN }}
108
108
run-id : ${{ env.FRAMEWORKRUNID }}
109
109
110
110
- name : Check XCFramework
111
111
if : startsWith(github.ref, 'refs/heads/release/')
112
- run : ls -R Carthage
112
+ run : |
113
+ ls -R Carthage
114
+ if [ ! -f Carthage/Sentry.xcframework.zip ]; then
115
+ echo "XCFramework is not available"
116
+ exit 1
117
+ fi
113
118
114
119
- name : Build xcframework
115
120
if : startsWith(github.ref, 'refs/heads/release/') == false
Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ jobs:
21
21
22
22
- name : ' Generate XCFramework'
23
23
run : |
24
- ./scripts/ci-select-xcode.sh 15.2
25
- mkdir Carthage
26
- cp README.md Carthage/Sentry.xcframework.zip
27
- # make build-xcframework
24
+ ./scripts/ci-select-xcode.sh 15.2
25
+ make build-xcframework
28
26
29
27
- uses : actions/upload-artifact@v4
30
28
with :
31
- name : Sentry.xcframework.zip
32
- path : Carthage/Sentry.xcframework.zip
29
+ name : xcframeworks.zip
30
+ path : |
31
+ Carthage/Sentry.xcframework.zip
32
+ Carthage/SentrySwiftUI.xcframework.zip
33
33
overwrite : true
34
34
35
35
job_release :
45
45
46
46
- uses : actions/download-artifact@v4
47
47
with :
48
- name : Sentry.xcframework .zip
48
+ name : xcframeworks .zip
49
49
path : Carthage/
50
50
51
+ # update-package-sha.sh uses this env variable to update Package.swift
51
52
- run : export GITHUB_RUN_ID=${{ github.run_id }}
52
53
53
54
- name : Prepare release
You can’t perform that action at this time.
0 commit comments