ci(gha/win): Specify valid directory for DEPS_BUILD_DIR

This commit is contained in:
James McCoy 2021-04-20 22:57:41 -04:00
parent 9a01833d90
commit 491708c989
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
2 changed files with 5 additions and 5 deletions

View File

@ -89,8 +89,8 @@ jobs:
runs-on: windows-2016
if: github.event.pull_request.draft == false
env:
DEPS_BUILD_DIR: "C:/projects/nvim-deps"
DEPS_PREFIX: "C:/projects/nvim-deps/usr"
DEPS_BUILD_DIR: ${{ format('{0}/nvim-deps', github.workspace) }}
DEPS_PREFIX: ${{ format('{0}/nvim-deps/usr', github.workspace) }}
strategy:
fail-fast: false
@ -102,7 +102,7 @@ jobs:
- uses: actions/cache@v2
with:
path: C:\projects\nvim-deps
path: ${{ env.DEPS_BUILD_DIR }}
key: ${{ matrix.config }}-${{ hashFiles('third-party\**') }}
- name: Run CI

View File

@ -110,8 +110,8 @@ jobs:
windows:
runs-on: windows-2016
env:
DEPS_BUILD_DIR: "C:/projects/nvim-deps"
DEPS_PREFIX: "C:/projects/nvim-deps/usr"
DEPS_BUILD_DIR: ${{ format('{0}/nvim-deps', github.workspace) }}
DEPS_PREFIX: ${{ format('{0}/nvim-deps/usr', github.workspace) }}
strategy:
matrix:
include: