Fix cache path. Also build
This commit is contained in:
parent
0de2e94d57
commit
390c588026
1 changed files with 8 additions and 7 deletions
15
.github/workflows/test.yml
vendored
15
.github/workflows/test.yml
vendored
|
@ -14,14 +14,15 @@ jobs:
|
|||
|
||||
- name: Cache Swift packages
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cache-swift-packages
|
||||
with:
|
||||
path:
|
||||
- .build/checkouts
|
||||
- .build/repositories
|
||||
- .build/workspace-state.json
|
||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Package.resolved') }}
|
||||
path: |
|
||||
.build/checkouts
|
||||
.build/repositories
|
||||
.build/workspace-state.json
|
||||
key: ${{ runner.os }}-${{ hashFiles('Package.resolved') }}
|
||||
|
||||
- name: Build
|
||||
run: swift build
|
||||
|
||||
- name: Run tests
|
||||
run: swift test
|
||||
|
|
Loading…
Add table
Reference in a new issue