From 3fe8d7474e2bb273ba6cc6f1e8801bd7790b22b2 Mon Sep 17 00:00:00 2001 From: staszekscp Date: Wed, 5 Feb 2025 01:20:31 +0100 Subject: [PATCH 1/2] Add a decription step for ShareExtension provisioning profile to testBuild.yml workflow --- .github/workflows/testBuild.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index 869db3d04be7..4134e5712210 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -199,6 +199,11 @@ jobs: env: LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }} + - name: Decrypt AdHoc Share Extension profile + run: cd ios && gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" --output NewApp_AdHoc_Share_Extension.mobileprovision NewApp_AdHoc_Share_Extension.mobileprovision.gpg + env: + LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }} + - name: Decrypt certificate run: cd ios && gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" --output Certificates.p12 Certificates.p12.gpg env: From 7f00ae812c4a54661bba9de5ae161d287f829454 Mon Sep 17 00:00:00 2001 From: staszekscp Date: Wed, 5 Feb 2025 01:57:38 +0100 Subject: [PATCH 2/2] Add op decrypting in testBuild.yml file --- .github/workflows/testBuild.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index 7b9ad5be2650..ea62bca794fe 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -195,6 +195,7 @@ jobs: run: | op read "op://Mobile-Deploy-CI/NewApp_AdHoc/NewApp_AdHoc.mobileprovision" --force --out-file ./NewApp_AdHoc.mobileprovision op read "op://Mobile-Deploy-CI/NewApp_AdHoc_Notification_Service/NewApp_AdHoc_Notification_Service.mobileprovision" --force --out-file ./NewApp_AdHoc_Notification_Service.mobileprovision + op read "op://Mobile-Deploy-CI/NewApp_AdHoc_Share_Extension.mobileprovision/NewApp_AdHoc_Share_Extension.mobileprovision" --force --out-file ./NewApp_AdHoc_Share_Extension.mobileprovision op read "op://Mobile-Deploy-CI/New Expensify Distribution Certificate/Certificates.p12" --force --out-file ./Certificates.p12 - name: Configure AWS Credentials