Skip to content

Commit e1f2fb4

Browse files
committed
test build ios archive
1 parent 880c8a2 commit e1f2fb4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/ios-action.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,21 @@ jobs:
7676
mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles"
7777
cp "$PROFILE" "$HOME/Library/MobileDevice/Provisioning Profiles/"
7878
79-
# - name: Build archive
80-
# env:
81-
# TEAM_ID: ${{ secrets.APPSTORE_TEAM_ID }}
82-
# run: |
83-
# set -euo pipefail
84-
# # If your workspace/scheme paths differ, adjust.
85-
# cd ios/App
86-
# xcodebuild \
87-
# -workspace "App.xcworkspace" \
88-
# -scheme "App" \
89-
# -configuration "Release Production" \
90-
# -archivePath "$GITHUB_WORKSPACE/App.xcarchive" \
91-
# -destination "generic/platform=iOS" \
92-
# DEVELOPMENT_TEAM="$TEAM_ID" \
93-
# clean archive
79+
- name: Build archive
80+
env:
81+
TEAM_ID: ${{ secrets.APPSTORE_TEAM_ID }}
82+
run: |
83+
set -euo pipefail
84+
# If your workspace/scheme paths differ, adjust.
85+
cd ios/App
86+
xcodebuild \
87+
-workspace "App.xcworkspace" \
88+
-scheme "App" \
89+
-configuration "Release Production" \
90+
-archivePath "$GITHUB_WORKSPACE/App.xcarchive" \
91+
-destination "generic/platform=iOS" \
92+
DEVELOPMENT_TEAM="$TEAM_ID" \
93+
clean archive
9494
9595
# - name: Export IPA
9696
# env:

0 commit comments

Comments
 (0)