File tree 1 file changed +11
-4
lines changed
.github/workflows/actions/setup
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,20 @@ runs:
15
15
with :
16
16
swift-version : ${{ inputs.swift }}
17
17
- uses : irgaly/setup-mint@v1
18
- - if : contains(inputs.os, 'macos')
18
+ - name : " Xcode Cache"
19
+ if : contains(inputs.os, 'macos')
19
20
uses : irgaly/xcode-cache@v1
20
21
with :
21
22
key : xcode-cache-deriveddata-${{ github.workflow }}-${{ github.sha }}
22
- restore-keys : xcode-cache-deriveddata-${{ github.workflow }}-
23
- # There is no `Xcode/DerivedData`; use `.build` instead.
24
- deriveddata-directory : .build
23
+ restore-keys : |
24
+ xcode-cache-deriveddata-${{ github.workflow }}-
25
+ - name : " Swift Package Manager Cache"
26
+ uses : actions/cache@v3
27
+ with :
28
+ path : .build
29
+ key : ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-spm-
25
32
26
33
# Hint: Use Composite Actions
27
34
# - https://stackoverflow.com/a/75735736/9801139
You can’t perform that action at this time.
0 commit comments