Skip to content

Commit a612a67

Browse files
authored
[Infra] Remove dupe job in .github/workflows/auth.yml (#14907)
1 parent 09f1a1a commit a612a67

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

.github/workflows/auth.yml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -48,35 +48,10 @@ jobs:
4848
product: ${{ matrix.product }}
4949
buildonly_platforms: macOS
5050

51-
spm-package-resolved:
52-
env:
53-
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
54-
runs-on: macos-15
55-
outputs:
56-
cache_key: ${{ steps.generate_cache_key.outputs.cache_key }}
57-
steps:
58-
- uses: actions/checkout@v4
59-
- name: Xcode
60-
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
61-
- name: Generate Swift Package.resolved
62-
id: swift_package_resolve
63-
run: |
64-
swift package resolve
65-
- name: Generate cache key
66-
id: generate_cache_key
67-
run: |
68-
cache_key="${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}"
69-
echo "cache_key=${cache_key}" >> "$GITHUB_OUTPUT"
70-
- uses: actions/cache/save@v4
71-
id: cache
72-
with:
73-
path: .build
74-
key: ${{ steps.generate_cache_key.outputs.cache_key }}
75-
7651
integration-tests:
7752
# Don't run on private repo unless it is a PR.
7853
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
79-
needs: [spm-package-resolved]
54+
needs: spm
8055
strategy:
8156
matrix:
8257
scheme: [ObjCApiTests, SwiftApiTests, AuthenticationExampleUITests]
@@ -89,7 +64,7 @@ jobs:
8964
- uses: actions/cache/restore@v4
9065
with:
9166
path: .build
92-
key: ${{needs.spm-package-resolved.outputs.cache_key}}
67+
key: ${{ needs.spm.outputs.cache_key }}
9368
- name: Install Secrets
9469
run: |
9570
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthCredentials.h.gpg \

0 commit comments

Comments
 (0)