Skip to content

Commit d929a23

Browse files
committed
Remove spm-package-resolved from common workflow
1 parent a86c616 commit d929a23

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

.github/workflows/common.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -52,40 +52,10 @@ on:
5252
required: false
5353
default: ""
5454

55-
outputs:
56-
cache_key:
57-
description: "The cache key for the Swift package resolution."
58-
value: ${{ jobs.spm-package-resolved.outputs.cache_key }}
59-
6055
jobs:
61-
spm-package-resolved:
62-
env:
63-
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
64-
runs-on: macos-15
65-
outputs:
66-
cache_key: ${{ steps.generate_cache_key.outputs.cache_key }}
67-
steps:
68-
- uses: actions/checkout@v4
69-
- name: Xcode
70-
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
71-
- name: Generate Swift Package.resolved
72-
id: swift_package_resolve
73-
run: swift package resolve
74-
- name: Generate cache key
75-
id: generate_cache_key
76-
run: |
77-
cache_key="${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}"
78-
echo "cache_key=${cache_key}" >> "$GITHUB_OUTPUT"
79-
- uses: actions/cache/save@v4
80-
id: cache
81-
with:
82-
path: .build
83-
key: ${{ steps.generate_cache_key.outputs.cache_key }}
84-
8556
spm:
8657
# Run on the main repo's scheduled jobs or pull requests and manual workflow invocations.
8758
if: (github.repository == 'firebase/firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", "workflow_dispatch"]'), github.event_name)
88-
needs: [spm-package-resolved]
8959
strategy:
9060
matrix:
9161
os: [macos-15]

0 commit comments

Comments
 (0)