Skip to content

Commit e299e64

Browse files
authored
Add SpecsDev to source (#7820)
* Let build_zip.sh add multiple sources.
1 parent 1e39eb4 commit e299e64

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/zip.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: ZipBuildingTest
4949
run: |
5050
mkdir -p zip_output_dir
51-
sh -x scripts/build_zip.sh zip_output_dir "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git' }}"
51+
sh -x scripts/build_zip.sh zip_output_dir "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git,https://github.com/firebase/SpecsDev.git' }}"
5252
- uses: actions/upload-artifact@v1
5353
with:
5454
name: Firebase-actions-dir

scripts/build_zip.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@ OUTPUT_DIR="$REPO/$1"
2828

2929
CUSTOM_SPEC_REPOS="$2"
3030

31+
source_repo=()
32+
IFS=','
33+
read -a specrepo <<< "${CUSTOM_SPEC_REPOS}"
34+
3135
cd ReleaseTooling
3236
swift run zip-builder --keep-build-artifacts --update-pod-repo \
3337
--local-podspec-path "${REPO}" \
3438
--enable-carthage-build --output-dir "${OUTPUT_DIR}" \
35-
--custom-spec-repos "${CUSTOM_SPEC_REPOS}"
39+
--custom-spec-repos "${specrepo[@]}"

0 commit comments

Comments
 (0)