Skip to content

Commit 352f64c

Browse files
committed
actions
1 parent fd90c02 commit 352f64c

File tree

9 files changed

+10
-42
lines changed

9 files changed

+10
-42
lines changed

.github/workflows/common_quickstart.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ on:
4444
type: string
4545
required: true
4646

47-
# The type of quickstart to test.
48-
#
49-
# Options: [swift, objc]
50-
quickstart_type:
51-
type: string
52-
required: false
53-
default: objc
54-
5547
# Whether to run tests or just build. Defaults to true.
5648
run_tests:
5749
type: boolean
@@ -89,20 +81,21 @@ jobs:
8981
# ${{ inputs.plist_src_path }} \
9082
# ${{ inputs.plist_dst_path }} \
9183
# "$plist_secret"
92-
- name: Build ${{ inputs.product }} Quickstart (${{ inputs.quickstart_type }} / ${{ inputs.is_legacy && 'Legacy' || 'Non-Legacy' }})
84+
- name: Build ${{ inputs.product }} Quickstart (${{ inputs.is_legacy && 'Legacy' || 'Non-Legacy' }})
9385
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
9486
with:
9587
timeout_minutes: 15
9688
max_attempts: 3
9789
retry_wait_seconds: 120
9890
command: |
99-
SPM=true DIR=${{ inputs.product }} scripts/test_quickstart.sh ${{ inputs.product }} false ${{ inputs.quickstart_type }}
100-
# command: |
101-
# scripts/test_quickstart.sh ${{ inputs.product }} false ${{ inputs.quickstart_type }}
102-
# scripts/test_quickstart.sh \
103-
# ${{ inputs.product }} \
104-
# ${{ inputs.run_tests }} \
105-
# ${{ inputs.quickstart_type }}
91+
SPM=true DIR=${{ inputs.product }} scripts/test_quickstart.sh ${{ inputs.product }} false
92+
# command: |
93+
# SPM=true DIR=${{ inputs.product }} scripts/test_quickstart.sh ${{ inputs.product }} ${{ inputs.run_tests }}
94+
# scripts/test_quickstart.sh \
95+
# ${{ inputs.product }} \
96+
# ${{ inputs.run_tests }} \
97+
# ${{ inputs.quickstart_type }}
98+
10699
# Failure sequence to upload artifact.
107100
# - id: lowercase_product
108101
# if: ${{ failure() }}

.github/workflows/crashlytics.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
with:
4949
product: Crashlytics
5050
is_legacy: true
51-
quickstart_type: swift
5251
setup_command: |
5352
scripts/setup_quickstart.sh crashlytics
5453
mkdir quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics

.github/workflows/database.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,12 @@ jobs:
7272

7373
quickstart:
7474
uses: ./.github/workflows/common_quickstart.yml
75-
strategy:
76-
matrix:
77-
quickstart_type: [objc, swift]
7875
with:
7976
product: Database
8077
is_legacy: false
8178
setup_command: QUICKSTART_BRANCH=mc/spm scripts/setup_quickstart_spm.sh database
8279
plist_src_path: scripts/gha-encrypted/qs-database.plist.gpg
8380
plist_dst_path: quickstart-ios/database/GoogleService-Info.plist
84-
quickstart_type: ${{ matrix.quickstart_type }}
8581
run_tests: false
8682
secrets:
8783
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

.github/workflows/inappmessaging.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,9 @@ jobs:
7474

7575
quickstart:
7676
uses: ./.github/workflows/common_quickstart.yml
77-
strategy:
78-
matrix:
79-
quickstart_type: [objc, swift]
8077
with:
8178
product: InAppMessaging
8279
is_legacy: false
83-
quickstart_type: ${{ matrix.quickstart_type }}
8480
setup_command: QUICKSTART_BRANCH=mc/spm scripts/setup_quickstart_spm.sh inappmessaging
8581
plist_src_path: scripts/gha-encrypted/qs-inappmessaging.plist.gpg
8682
plist_dst_path: quickstart-ios/inappmessaging/GoogleService-Info.plist

.github/workflows/installations.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,12 @@ jobs:
5151

5252
quickstart:
5353
uses: ./.github/workflows/common_quickstart.yml
54-
strategy:
55-
matrix:
56-
quickstart_type: [objc, swift]
5754
with:
5855
product: Installations
5956
is_legacy: false
6057
setup_command: QUICKSTART_BRANCH=mc/spm scripts/setup_quickstart_spm.sh installations
6158
plist_src_path: scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg
6259
plist_dst_path: quickstart-ios/installations/GoogleService-Info.plist
63-
quickstart_type: ${{ matrix.quickstart_type }}
6460
secrets:
6561
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
6662

.github/workflows/messaging.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,9 @@ jobs:
8383

8484
quickstart:
8585
uses: ./.github/workflows/common_quickstart.yml
86-
strategy:
87-
matrix:
88-
quickstart_type: [objc, swift]
8986
with:
9087
product: Messaging
9188
is_legacy: false
92-
quickstart_type: ${{ matrix.quickstart_type }}
9389
setup_command: QUICKSTART_BRANCH=mc/spm scripts/setup_quickstart_spm.sh messaging
9490
plist_src_path: scripts/gha-encrypted/qs-messaging.plist.gpg
9591
plist_dst_path: quickstart-ios/messaging/GoogleService-Info.plist

.github/workflows/performance.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ jobs:
8484
with:
8585
product: Performance
8686
is_legacy: false
87-
quickstart_type: swift
8887
setup_command: QUICKSTART_BRANCH=mc/spm scripts/setup_quickstart_spm.sh performance
8988
plist_src_path: scripts/gha-encrypted/qs-performance.plist.gpg
9089
plist_dst_path: quickstart-ios/performance/GoogleService-Info.plist

.github/workflows/storage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ jobs:
8383
uses: ./.github/workflows/common_quickstart.yml
8484
with:
8585
product: Storage
86-
quickstart_type: swift
8786
is_legacy: true
8887
setup_command: QUICKSTART_BRANCH=mc/spm scripts/setup_quickstart_spm.sh storage
8988
plist_src_path: scripts/gha-encrypted/qs-storage.plist.gpg

scripts/test_quickstart.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,11 @@ set -xeuo pipefail
2020

2121
sample="$1"
2222
test="$2"
23-
language="${3-}"
2423

2524
# Source function to check if CI secrets are available.
2625
source scripts/check_secrets.sh
2726

2827
if check_secrets; then
2928
cd quickstart-ios
30-
if [ "$language" = "swift" ]; then
31-
have_secrets=true SAMPLE="$sample" TEST="$test" SWIFT_SUFFIX="Swift" ./scripts/test.sh
32-
else
33-
have_secrets=true SAMPLE="$sample" TEST="$test" ./scripts/test.sh
34-
fi
35-
29+
have_secrets=true SAMPLE="$sample" TEST="$test" ./scripts/test.sh
3630
fi

0 commit comments

Comments
 (0)