Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zshahin-61 committed Nov 28, 2023
1 parent 1421f01 commit 73fb0d6
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,10 @@ jobs:
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
- name: build archive
run: xcodebuild archive -scheme "UpgradeUpsell" -sdk iphoneos -destination generic/platform=iOS -archivePath $RUNNER_TEMP/UpgradeUpsell.xcarchive -allowProvisioningUpdates



- name: export ipa
env:
EXPORT_OPTIONS_PLIST: ${{ secrets.EXPORT_OPTIONS_PLIST }}
run: |
EXPORT_OPTS_PATH=$RUNNER_TEMP/ExportOptions.plist
echo -n "$EXPORT_OPTIONS_PLIST" | base64 --decode -o $EXPORT_OPTS_PATH
xcodebuild -exportArchive -archivePath $RUNNER_TEMP/UpgradeUpsell.xcarchive -exportOptionsPlist $EXPORT_OPTS_PATH -exportPath $RUNNER_TEMP/build
- name: Upload application
uses: actions/upload-artifact@v3
with:
name: app
path: ${{ runner.temp }}/build/UpgradeUpsell.ipa
# you can also archive the entire directory
# path: ${{ runner.temp }}/build
retention-days: 3
xcodebuild -scheme "UpgradeUpsell" \
-archivePath $RUNNER_TEMP/UpgradeUpsell.xcarchive \
-sdk iphoneos \
-configuration Debug \
-destination generic/platform=iOS \
clean archive

0 comments on commit 73fb0d6

Please sign in to comment.