File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 79
79
working-directory : ./packages/flutter_test_runners/example_deep_links
80
80
81
81
steps :
82
+ - name : Decode Provisioning Profile and Certificate
83
+ env :
84
+ PROVISIONING_PROFILE : ${{ secrets.PROVISIONING_PROFILE }}
85
+ SIGNING_CERTIFICATE : ${{ secrets.SIGNING_CERTIFICATE }}
86
+ run : |
87
+ echo "$PROVISIONING_PROFILE" | base64 --decode > provisioning.mobileprovision
88
+ echo "$SIGNING_CERTIFICATE" | base64 --decode > certificate.p12
89
+
90
+ - name : Install Certificate and Provisioning Profile
91
+ env :
92
+ CERTIFICATE_PASSWORD : ${{ secrets.SIGNING_CERTIFICATE_PASSWORD }}
93
+ run : |
94
+ # Install the signing certificate
95
+ security import certificate.p12 -k ~/Library/Keychains/login.keychain-db -P "$CERTIFICATE_PASSWORD" -T /usr/bin/codesign
96
+
97
+ # Move the provisioning profile to the correct location
98
+ mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
99
+ mv provisioning.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles/
100
+
101
+ # Verify the certificate
102
+ security find-identity -p codesigning -v
103
+
82
104
- name : Checkout repository
83
105
uses : actions/checkout@v3
84
106
You can’t perform that action at this time.
0 commit comments