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
|
- name: Cache Swift packages
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
env:
|
|
||||||
cache-name: cache-swift-packages
|
|
||||||
with:
|
with:
|
||||||
path:
|
path: |
|
||||||
- .build/checkouts
|
.build/checkouts
|
||||||
- .build/repositories
|
.build/repositories
|
||||||
- .build/workspace-state.json
|
.build/workspace-state.json
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Package.resolved') }}
|
key: ${{ runner.os }}-${{ hashFiles('Package.resolved') }}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: swift build
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: swift test
|
run: swift test
|
||||||
|
|
Loading…
Add table
Reference in a new issue