diff options
author | James McCoy <jamessan@jamessan.com> | 2021-04-20 22:57:41 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2021-04-21 00:14:51 -0400 |
commit | 491708c9892843fa9013334b4cd130bd0ca41d1b (patch) | |
tree | fb6d6a32fd7e0ed032bbed67287c48011a86df88 | |
parent | 9a01833d904af14c21a0f2455af5126a66280d55 (diff) | |
download | rneovim-491708c9892843fa9013334b4cd130bd0ca41d1b.tar.gz rneovim-491708c9892843fa9013334b4cd130bd0ca41d1b.tar.bz2 rneovim-491708c9892843fa9013334b4cd130bd0ca41d1b.zip |
ci(gha/win): Specify valid directory for DEPS_BUILD_DIR
-rw-r--r-- | .github/workflows/ci.yml | 6 | ||||
-rw-r--r-- | .github/workflows/release.yml | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7a8625378..2f2b3f102f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43fe1d5101..24392fb96c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: |