Optimized what is cached from build
This commit is contained in:
@@ -18,7 +18,10 @@ jobs:
|
||||
- name: Cache Build
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: Swift/.build
|
||||
path: |
|
||||
Swift/.build/checkouts
|
||||
Swift/.build/repositories
|
||||
Swift/.build/prebuilts
|
||||
key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-swift-
|
||||
@@ -51,7 +54,10 @@ jobs:
|
||||
- name: Cache Build
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: Swift/.build
|
||||
path: |
|
||||
Swift/.build/checkouts
|
||||
Swift/.build/repositories
|
||||
Swift/.build/prebuilts
|
||||
key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-swift-
|
||||
@@ -92,7 +98,10 @@ jobs:
|
||||
- name: Cache Build
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: Swift/.build
|
||||
path: |
|
||||
Swift/.build/checkouts
|
||||
Swift/.build/repositories
|
||||
Swift/.build/prebuilts
|
||||
key: ${{ runner.os }}-swift-${{ hashFiles('Swift/Package.resolved') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-swift-
|
||||
|
||||
Reference in New Issue
Block a user