fixed provision cert path

This commit is contained in:
Vadim 2024-02-05 19:03:19 +01:00
parent f9a6363025
commit b28f42c176
2 changed files with 8 additions and 6 deletions

View file

@ -38,9 +38,10 @@ jobs:
p12-password: ${{ secrets.APP_STORE_P12_PASSWORD }}
- name: Install the provisioning profile
run: |
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" "provision_prod.mobileprovision"
mkdir -p ~/Library/MobileDevice/profiles
cp provision_prod.mobileprovision ~/Library/MobileDevice/profiles
PROVISION_CERT_PATH=$RUNNER_TEMP/provision_prod.mobileprovision
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH
mkdir -p ~/Library/MobileDevice\ Profiles
cp $PROVISION_CERT_PATH ~/Library/MobileDevice\ Profiles
- name: Restore firebase_options.dart
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart"

View file

@ -38,9 +38,10 @@ jobs:
p12-password: ${{ secrets.APP_STORE_P12_PASSWORD }}
- name: Install the provisioning profile
run: |
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" "provision_prod.mobileprovision"
mkdir -p ~/Library/MobileDevice/profiles
cp provision_prod.mobileprovision ~/Library/MobileDevice/profiles
PROVISION_CERT_PATH=$RUNNER_TEMP/provision_prod.mobileprovision
bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH
mkdir -p ~/Library/MobileDevice\ Profiles
cp $PROVISION_CERT_PATH ~/Library/MobileDevice\ Profiles
- name: Restore firebase_options.dart
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart"