Skip to content

Commit

Permalink
changed provision path
Browse files Browse the repository at this point in the history
  • Loading branch information
vodemn committed Feb 11, 2024
1 parent 8b8c5d8 commit 2dcfd87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
run: |
PROVISION_CERT_PATH=$RUNNER_TEMP/Lightmeter.mobileprovision
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH
mkdir -p ~/Library/MobileDevice\Provisioning\ Profiles
cp $PROVISION_CERT_PATH ~/Library/MobileDevice\Provisioning\ Profiles
mkdir -p ~/Library/MobileDevice/profiles
cp $PP_PROD_PATH ~/Library/MobileDevice/profiles
- name: Restore firebase_options.dart
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart"
Expand All @@ -59,7 +59,7 @@ jobs:
flutter pub run intl_utils:generate
- name: Build .ipa
run: flutter build ipa --release --flavor $FLAVOR -t lib/main_$FLAVOR.dart
run: flutter build ipa --release --export-options-plist=ios/Runner/ExportOptions.plist --flavor $FLAVOR -t lib/main_$FLAVOR.dart

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_ipa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
run: |
PROVISION_CERT_PATH=$RUNNER_TEMP/Lightmeter.mobileprovision
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH
mkdir -p ~/Library/MobileDevice\Provisioning\ Profiles
cp $PROVISION_CERT_PATH ~/Library/MobileDevice\Provisioning\ Profiles
mkdir -p ~/Library/MobileDevice/profiles
cp $PP_PROD_PATH ~/Library/MobileDevice/profiles
- name: Restore firebase_options.dart
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart"
Expand All @@ -59,7 +59,7 @@ jobs:
flutter pub run intl_utils:generate
- name: Build .ipa
run: flutter build ipa --release --flavor $FLAVOR -t lib/main_$FLAVOR.dart
run: flutter build ipa --release --export-options-plist=ios/Runner/ExportOptions.plist --flavor $FLAVOR -t lib/main_$FLAVOR.dart

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 2dcfd87

Please sign in to comment.