File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
.github/workflows/actions/setup Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,20 @@ runs:
1515 with :
1616 swift-version : ${{ inputs.swift }}
1717 - uses : irgaly/setup-mint@v1
18- - if : contains(inputs.os, 'macos')
18+ - name : " Xcode Cache"
19+ if : contains(inputs.os, 'macos')
1920 uses : irgaly/xcode-cache@v1
2021 with :
2122 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-
2532
2633# Hint: Use Composite Actions
2734# - https://stackoverflow.com/a/75735736/9801139
You can’t perform that action at this time.
0 commit comments