Explorar o código

repro attempt

Nick Cooke hai 8 meses
pai
achega
c73eb054e2
Modificáronse 4 ficheiros con 18 adicións e 17 borrados
  1. 12 11
      .github/workflows/auth.yml
  2. 2 2
      .github/workflows/firestore.yml
  3. 2 2
      .github/workflows/spm.yml
  4. 2 2
      scripts/build.sh

+ 12 - 11
.github/workflows/auth.yml

@@ -27,11 +27,11 @@ env:
 #    cancel-in-progress: true
 
 jobs:
-  spm:
-    uses: ./.github/workflows/common.yml
-    with:
-      target: AuthUnit
-      platforms: iOS
+#  spm:
+#    uses: ./.github/workflows/common.yml
+#    with:
+#      target: AuthUnit
+#      platforms: iOS
 #      buildonly_platforms: macOS
 
 #  catalyst:
@@ -53,20 +53,21 @@ jobs:
   integration-tests:
     # 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'
-    needs: spm
+#    needs: spm
     strategy:
       matrix:
-        scheme: [ObjCApiTests, SwiftApiTests, AuthenticationExampleUITests]
+#        scheme: [ObjCApiTests, SwiftApiTests, AuthenticationExampleUITests]
+        scheme: [AuthenticationExample]
     env:
       plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
       FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
     runs-on: macos-15
     steps:
     - uses: actions/checkout@v4
-    - uses: actions/cache/restore@v4
-      with:
-        path: .build
-        key: ${{ needs.spm.outputs.cache_key }}
+#    - uses: actions/cache/restore@v4
+#      with:
+#        path: .build
+#        key: ${{ needs.spm.outputs.cache_key }}
     - name: Install Secrets
       run: |
         scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthCredentials.h.gpg \

+ 2 - 2
.github/workflows/firestore.yml

@@ -70,7 +70,7 @@ jobs:
               # Note that this doesn't include check scripts because changing those will
               # already trigger the check workflow.
               - 'scripts/binary_to_array.py'
-              - 'scripts/build.sh'
+              # - 'scripts/build.sh'
               - 'scripts/install_prereqs.sh'
               - 'scripts/localize_podfile.swift'
               - 'scripts/pod_lib_lint.rb'
@@ -81,7 +81,7 @@ jobs:
               - 'scripts/xcresult_logs.py'
 
               # This workflow
-              - '.github/workflows/firestore.yml'
+              # - '.github/workflows/firestore.yml'
 
               # Workflows this one depends on.
               - '.github/workflows/common.yml'

+ 2 - 2
.github/workflows/spm.yml

@@ -4,10 +4,10 @@ on:
   workflow_dispatch:
   pull_request:
     paths:
-    - '.github/workflows/spm.yml'
+#    - '.github/workflows/spm.yml'
     - 'Package.swift'
     - '.swiftpm/*'
-    - 'scripts/build.sh'
+#    - 'scripts/build.sh'
     - 'SwiftPMTests/*'
     - 'SwiftPM-PlatformExclude'
     - 'Gemfile*'

+ 2 - 2
scripts/build.sh

@@ -314,13 +314,13 @@ case "$product-$platform-$method" in
         build
     ;;
 
-  Auth-*-*)
+  Auth-*-AuthenticationExample)
     if check_secrets; then
       RunXcodebuild \
         -project 'FirebaseAuth/Tests/SampleSwift/AuthenticationExample.xcodeproj' \
         -scheme "$method" \
         "${xcb_flags[@]}" \
-        test
+        archive
     fi
     ;;