Skip to content

Commit f712fd6

Browse files
committed
Restore zip.yml after fix from #8184
1 parent 7a1dd82 commit f712fd6

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

.github/workflows/zip.yml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -57,28 +57,29 @@ jobs:
5757
cd ReleaseTooling
5858
swift build -v
5959
60-
# package-head:
61-
# # Don't run on private repo.
62-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
63-
# needs: build
64-
# runs-on: macOS-latest
65-
# steps:
66-
# - uses: actions/checkout@v2
67-
# - name: Xcode 12.2
68-
# run: sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer
69-
# - name: Setup Bundler
70-
# run: ./scripts/setup_bundler.sh
71-
# - name: ZipBuildingTest
72-
# run: |
73-
# mkdir -p zip_output_dir
74-
# sh -x scripts/build_zip.sh \
75-
# zip_output_dir "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git,https://github.com/firebase/SpecsDev.git' }}"
76-
# - uses: actions/upload-artifact@v1
77-
# with:
78-
# name: Firebase-actions-dir
79-
# # Zip the entire output directory since the builder adds subdirectories we don't know the
80-
# # name of.
81-
# path: zip_output_dir
60+
package-head:
61+
# Don't run on private repo.
62+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
63+
needs: build
64+
runs-on: macOS-latest
65+
steps:
66+
- uses: actions/checkout@v2
67+
- name: Xcode 12.2
68+
run: sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer
69+
- name: Setup Bundler
70+
run: ./scripts/setup_bundler.sh
71+
- name: ZipBuildingTest
72+
run: |
73+
mkdir -p zip_output_dir
74+
sh -x scripts/build_zip.sh \
75+
zip_output_dir "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git,https://github.com/firebase/SpecsDev.git' }}" \
76+
build-head
77+
- uses: actions/upload-artifact@v1
78+
with:
79+
name: Firebase-actions-dir
80+
# Zip the entire output directory since the builder adds subdirectories we don't know the
81+
# name of.
82+
path: zip_output_dir
8283

8384
quickstart_framework_abtesting:
8485
# Don't run on private repo.

0 commit comments

Comments
 (0)