diff options
author | crupest <crupest@outlook.com> | 2022-01-21 00:00:14 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-21 00:00:14 +0800 |
commit | 0b6df0807f1b32266e2a206e38dc52ebad52ed96 (patch) | |
tree | 58c2fe9e8c4827e5a199c9104afee9a9b7fcbd16 /.github/workflows | |
parent | 7433b93aef3402f8c75c24deb4614d0f351b9477 (diff) | |
download | cru-0b6df0807f1b32266e2a206e38dc52ebad52ed96.tar.gz cru-0b6df0807f1b32266e2a206e38dc52ebad52ed96.tar.bz2 cru-0b6df0807f1b32266e2a206e38dc52ebad52ed96.zip |
...
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c978c3af..c96f7a30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,13 @@ on: - "docs/**" - "**/README.md" +env: + VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/.cache/vcpkg/archives + jobs: macos-build: name: macOS Build runs-on: macos-latest - env: - VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/.cache/vcpkg/archives steps: - uses: actions/checkout@v2 @@ -25,7 +26,7 @@ jobs: - name: Restore Cache uses: actions/cache@v2 with: - path: ${{ env.VCPKG_DEFAULT_BINARY_CACHE }} + path: .cache/vcpkg/archives key: vcpkg-${{ runner.os }} - name: Setup Ninja @@ -48,16 +49,13 @@ jobs: name: Windows Build runs-on: windows-latest - env: - VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/.cache/vcpkg/archives - steps: - uses: actions/checkout@v2 - name: Restore Cache uses: actions/cache@v2 with: - path: ${{ env.VCPKG_DEFAULT_BINARY_CACHE }} + path: .cache/vcpkg/archives key: vcpkg-${{ runner.os }} - name: Setup Ninja |