Optimized what is cached from build
This commit is contained in:
@@ -20,7 +20,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-
|
||||
@@ -69,7 +72,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-
|
||||
@@ -126,7 +132,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