|
|
@@ -25,31 +25,30 @@ concurrency:
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
jobs:
|
|
|
- # TODO: Reenable package-release once v9 merges to master.
|
|
|
- # 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-11
|
|
|
- # steps:
|
|
|
- # - uses: actions/checkout@v2
|
|
|
- # - uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
|
|
|
- # with:
|
|
|
- # cache_key: ${{ matrix.os }}
|
|
|
- # - name: Xcode 13.2.1
|
|
|
- # run: sudo xcode-select -s /Applications/Xcode_13.2.1.app/Contents/Developer
|
|
|
- # - 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@v1
|
|
|
- # 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-11
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v2
|
|
|
+ - uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
|
|
|
+ with:
|
|
|
+ cache_key: ${{ matrix.os }}
|
|
|
+ - name: Xcode 13.2.1
|
|
|
+ run: sudo xcode-select -s /Applications/Xcode_13.2.1.app/Contents/Developer
|
|
|
+ - 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@v1
|
|
|
+ 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.
|