Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Apr 23, 2024
1 parent 197c28c commit 8e59ef3
Showing 1 changed file with 68 additions and 68 deletions.
136 changes: 68 additions & 68 deletions .github/workflows/zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,74 +25,74 @@ concurrency:
cancel-in-progress: true

jobs:
package-release:
# Don't run on private repo.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
with:
cache_key: package-release
- name: Xcode 15.2
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: ./scripts/setup_bundler.sh
- name: ZipBuildingTest
run: |
mkdir -p release_zip_dir
sh -x scripts/build_zip.sh release_zip_dir \
"${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git' }}"
- uses: actions/upload-artifact@v4
with:
name: Firebase-release-zip-zip
# Zip the entire output directory since the builder adds subdirectories we don't know the
# name of.
path: release_zip_dir
# package-release:
# # Don't run on private repo.
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
# runs-on: macos-14
# steps:
# - uses: actions/checkout@v4
# - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
# with:
# cache_key: package-release
# - name: Xcode 15.2
# run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
# - uses: ruby/setup-ruby@v1
# - name: Setup Bundler
# run: ./scripts/setup_bundler.sh
# - name: ZipBuildingTest
# run: |
# mkdir -p release_zip_dir
# sh -x scripts/build_zip.sh release_zip_dir \
# "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git' }}"
# - uses: actions/upload-artifact@v4
# with:
# name: Firebase-release-zip-zip
# # Zip the entire output directory since the builder adds subdirectories we don't know the
# # name of.
# path: release_zip_dir

build:
# Don't run on private repo unless it is a PR.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Xcode 15.2
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
- name: Build
run: |
cd ReleaseTooling
swift build -v
# build:
# # Don't run on private repo unless it is a PR.
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
# runs-on: macos-14
# steps:
# - uses: actions/checkout@v4
# - name: Xcode 15.2
# run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
# - name: Build
# run: |
# cd ReleaseTooling
# swift build -v

package-head:
# Don't run on private repo.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
needs: build
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
with:
cache_key: package-head
- name: Xcode 15.2
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: ./scripts/setup_bundler.sh
- name: ZipBuildingTest
run: |
mkdir -p zip_output_dir
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' }}" \
build-head
- uses: actions/upload-artifact@v4
with:
name: Firebase-actions-dir
github-token: '${{ secrets.GITHUB_TOKEN }}'
run-id: 8787079219
# Zip the entire output directory since the builder adds subdirectories we don't know the
# name of.
path: zip_output_dir
# package-head:
# # Don't run on private repo.
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
# needs: build
# runs-on: macos-14
# steps:
# - uses: actions/checkout@v4
# - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
# with:
# cache_key: package-head
# - name: Xcode 15.2
# run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
# - uses: ruby/setup-ruby@v1
# - name: Setup Bundler
# run: ./scripts/setup_bundler.sh
# - name: ZipBuildingTest
# run: |
# mkdir -p zip_output_dir
# 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' }}" \
# build-head
# - uses: actions/upload-artifact@v4
# with:
# name: Firebase-actions-dir
# github-token: '${{ secrets.GITHUB_TOKEN }}'
# run-id: 8787079219
# # Zip the entire output directory since the builder adds subdirectories we don't know the
# # name of.
# path: zip_output_dir

quickstart_framework_abtesting:
# Don't run on private repo.
Expand Down Expand Up @@ -525,8 +525,8 @@ jobs:
uses: actions/download-artifact@v4
with:
name: Firebase-actions-dir
github-token: '${{ secrets.GITHUB_TOKEN }}'
run-id: 8787079219
github-token: '${{ secrets.GITHUB_TOKEN }}'
run-id: 8787079219
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: ./scripts/setup_bundler.sh
Expand Down

0 comments on commit 8e59ef3

Please sign in to comment.