File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,9 @@ jobs:
155
155
--allow-warnings
156
156
157
157
quickstart :
158
+ env :
159
+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
160
+ signin_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
158
161
runs-on : macOS-latest
159
162
needs : check
160
163
@@ -163,14 +166,11 @@ jobs:
163
166
- name : Setup quickstart
164
167
run : scripts/setup_quickstart.sh firestore
165
168
- name : Install Secret GoogleService-Info.plist
166
- env :
167
- plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
168
169
run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-firestore.plist.gpg \
169
170
quickstart-ios/firestore/GoogleService-Info.plist "$plist_secret"
170
171
- name : Install Secret FIREGSignInInfo.h
171
- env :
172
- signin_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
173
172
run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
174
173
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
175
174
- name : Test quickstart
176
- run : scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore
175
+ run : ([ -z $plist_secret ] ||
176
+ scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore)
Original file line number Diff line number Diff line change @@ -57,23 +57,23 @@ jobs:
57
57
run : scripts/test_catalyst.sh FirebaseMessaging build
58
58
59
59
quickstart :
60
+ env :
61
+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
62
+ signin_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
60
63
runs-on : macOS-latest
61
64
steps :
62
65
- uses : actions/checkout@v2
63
66
- name : Setup quickstart
64
67
run : scripts/setup_quickstart.sh messaging
65
68
- name : Install Secret GoogleService-Info.plist
66
- env :
67
- plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
68
69
run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-messaging.plist.gpg \
69
70
quickstart-ios/messaging/GoogleService-Info.plist "$plist_secret"
70
71
- name : Install Secret FIREGSignInInfo.h
71
- env :
72
- signin_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
73
72
run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
74
73
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
75
74
- name : Test quickstart
76
- run : scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging
75
+ run : ([ -z $plist_secret ] ||
76
+ scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging)
77
77
78
78
pod-lib-lint-watchos :
79
79
runs-on : macOS-latest
@@ -136,4 +136,4 @@ jobs:
136
136
- name : Prereqs
137
137
run : scripts/install_prereqs.sh MessagingSample iOS
138
138
- name : Build
139
- run : scripts/build.sh MessagingSample iOS
139
+ run : ([ -z $plist_secret ] || scripts/build.sh MessagingSample iOS)
You can’t perform that action at this time.
0 commit comments