From 390c5880262a66e4cf18299dcde25199c5e77429 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Wed, 30 Dec 2020 14:27:02 +0100 Subject: [PATCH] Fix cache path. Also build --- .github/workflows/test.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 106752a..9de2c7c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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