Skip to content

Commit e1782ad

Browse files
committed
Update Build frameworks step
1 parent 9b4b9c2 commit e1782ad

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ jobs:
102102
cp $MAC_PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
103103
104104
- name: Build frameworks
105+
run: sh scripts/xcframeworkgen.sh
105106
env:
106107
BACKTRACE_VERSION: ${{ github.ref_name }}
107108
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }}
108-
run: sh scripts/xcframeworkgen.sh
109109

110110
- name: Tar files to preserve file permissions
111111
run: tar -cvzf Archive_XCFrameworks_${{ github.ref_name }}.tar.gz frameworks/

scripts/xcframeworkgen.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ mkdir ${BUILD_PATH}
1313
mkdir ${WORKFLOW_XC_PATH}
1414
mkdir ${DERIVED_DATA_PATH}
1515

16+
17+
if [ -z "$DEVELOPMENT_TEAM" ]; then
18+
echo "DEVELOPMENT_TEAM is not set or is empty"
19+
else
20+
echo "The value of DEVELOPMENT_TEAM is: $DEVELOPMENT_TEAM"
21+
fi
22+
1623
xcodebuild archive \
1724
-workspace Backtrace.xcworkspace \
1825
-scheme "Backtrace-iOS-lib" \

0 commit comments

Comments
 (0)