This commit is contained in:
Vadim 2024-02-11 16:14:49 +01:00
parent 2dcfd87d4e
commit 5956912a65
2 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@ jobs:
PROVISION_CERT_PATH=$RUNNER_TEMP/Lightmeter.mobileprovision PROVISION_CERT_PATH=$RUNNER_TEMP/Lightmeter.mobileprovision
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH
mkdir -p ~/Library/MobileDevice/profiles mkdir -p ~/Library/MobileDevice/profiles
cp $PP_PROD_PATH ~/Library/MobileDevice/profiles cp $PROVISION_CERT_PATH ~/Library/MobileDevice/profiles
- name: Restore firebase_options.dart - name: Restore firebase_options.dart
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart" run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart"
@ -59,7 +59,7 @@ jobs:
flutter pub run intl_utils:generate flutter pub run intl_utils:generate
- name: Build .ipa - name: Build .ipa
run: flutter build ipa --release --export-options-plist=ios/Runner/ExportOptions.plist --flavor $FLAVOR -t lib/main_$FLAVOR.dart run: flutter build ipa --release --flavor $FLAVOR -t lib/main_$FLAVOR.dart
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3

View file

@ -41,7 +41,7 @@ jobs:
PROVISION_CERT_PATH=$RUNNER_TEMP/Lightmeter.mobileprovision PROVISION_CERT_PATH=$RUNNER_TEMP/Lightmeter.mobileprovision
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH
mkdir -p ~/Library/MobileDevice/profiles mkdir -p ~/Library/MobileDevice/profiles
cp $PP_PROD_PATH ~/Library/MobileDevice/profiles cp $PROVISION_CERT_PATH ~/Library/MobileDevice/profiles
- name: Restore firebase_options.dart - name: Restore firebase_options.dart
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart" run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart"
@ -59,7 +59,7 @@ jobs:
flutter pub run intl_utils:generate flutter pub run intl_utils:generate
- name: Build .ipa - name: Build .ipa
run: flutter build ipa --release --export-options-plist=ios/Runner/ExportOptions.plist --flavor $FLAVOR -t lib/main_$FLAVOR.dart run: flutter build ipa --release --flavor $FLAVOR -t lib/main_$FLAVOR.dart
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3