Skip to content

Commit

Permalink
testing testflight
Browse files Browse the repository at this point in the history
  • Loading branch information
jowparks committed Mar 26, 2024
1 parent c2cb2b5 commit b634250
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/testflight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
npx nx cargo-android ironfish-native-module
- name: Verify prebuild success
- name: prebuild
run: |
npx nx prebuild mobile-app
Expand Down Expand Up @@ -82,12 +82,17 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
EXPORT_OPTIONS_APP_STORE: ${{ secrets.EXPORT_OPTIONS_APP_STORE }}
run: |
echo "Building app..."
EXPORT_OPTIONS_APP_STORE_PATH=$RUNNER_TEMP/exportOptionsAppStore.plist
echo -n "$EXPORT_OPTIONS_APP_STORE" | base64 --decode -o $EXPORT_OPTIONS_APP_STORE_PATH
ls
ARCHIVE_PATH="$HOME/Library/Developer/Xcode/Archives/mobileapp/$(date +%Y%m%d%H%M%S)/mobileapp.xcarchive"
EXPORT_PATH="$HOME/Library/Developer/Xcode/Archives/mobileapp/$(date +%Y%m%d%H%M%S)/"
xcodebuild -workspace mobileapp.xcworkspace -scheme "mobileapp" clean archive -sdk iphoneos -archivePath $ARCHIVE_PATH -allowProvisioningUpdates
xcodebuild -exportArchive -archivePath $ARCHIVE_PATH -exportPath $EXPORT_PATH -allowProvisioningUpdates
xcodebuild -exportArchive -archivePath $ARCHIVE_PATH -exportOptionsPlist $EXPORT_OPTIONS_APP_STORE_PATH -exportPath $EXPORT_PATH -allowProvisioningUpdates
echo "Collecting artifacts.."
cp -R "${ARCHIVE_PATH}/dSYMs" .
IPA="${EXPORT_PATH}mobileapp.ipa"
Expand Down

0 comments on commit b634250

Please sign in to comment.