Skip to content

Commit

Permalink
fixed provision cert path
Browse files Browse the repository at this point in the history
  • Loading branch information
vodemn committed Feb 5, 2024
1 parent f9a6363 commit b28f42c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build_ipa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b28f42c

Please sign in to comment.