Skip to content

Commit 848adb2

Browse files
committed
try to testbuild project in actions
1 parent 19c1d92 commit 848adb2

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

.github/workflows/swift.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,27 @@ jobs:
2121
- name: check Xcode List
2222
run: /usr/bin/xcodebuild -list
2323

24-
- name: build archive
24+
- name: test build
2525
run: |
2626
xcodebuild -scheme "CloudMaster" \
2727
-archivePath $RUNNER_TEMP/cloudmaster.xcarchive \
2828
-sdk iphoneos \
2929
-configuration Debug \
3030
-destination generic/platform=iOS \
31-
clean archive
31+
-allowProvisioningUpdates \
32+
clean build
3233
33-
- name: export ipa
34-
env:
35-
EXPORT_OPTIONS_PLIST: ${{ secrets.EXPORT_OPTIONS_PLIST }}
36-
run: |
37-
xcodebuild -exportArchive -archivePath $RUNNER_TEMP/cloudmaster.xcarchive -exportPath $RUNNER_TEMP/build
38-
39-
- name: Upload application
40-
uses: actions/upload-artifact@v4
41-
with:
42-
name: app
43-
path: ${{ runner.temp }}/build
44-
retention-days: 3
34+
35+
## DISABLED STEPS TO ARCHIVE AND PUBLISH IPA FOR NOW ##
36+
# - name: export ipa
37+
# env:
38+
# EXPORT_OPTIONS_PLIST: ${{ secrets.EXPORT_OPTIONS_PLIST }}
39+
# run: |
40+
# xcodebuild -exportArchive -archivePath $RUNNER_TEMP/cloudmaster.xcarchive -exportPath $RUNNER_TEMP/build
41+
42+
# - name: Upload application
43+
# uses: actions/upload-artifact@v4
44+
# with:
45+
# name: app
46+
# path: ${{ runner.temp }}/build
47+
# retention-days: 3

0 commit comments

Comments
 (0)