From 7ed359b6896bf91e364797fe866c563ce4b66ee7 Mon Sep 17 00:00:00 2001 From: nilsnolde Date: Mon, 3 Jan 2022 11:51:48 +0100 Subject: [PATCH] should work now --- .github/workflows/wheels.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index d919b6a..f62ee28 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -47,6 +47,12 @@ jobs: with: submodules: recursive + - name: Set Win env vars + if: matrix.os == 'windows-latest' + run: | + echo "CONAN_HOME=%USERPROFILE%\.conan" >> $GITHUB_ENV + echo "CONAN_BUILD=$GITHUB_WORKSPACE\conan_build" >> $GITHUB_ENV + - name: Cache Conan dependencies id: cache-conan uses: actions/cache@v2 @@ -62,13 +68,12 @@ jobs: env: TEST: $env:USERPROFILE run: | - echo "Win env": %USERPROFILE% - echo "Wrapped env": %TEST% - echo "Github env": $env:USERPROFILE + echo "wrapped conan home ${{ env.CONAN_HOME }}" + echo "wrapped conan build ${{ env.CONAN_BUILD }}" echo "Dir conan_build" - dir conan_build + dir "${{ env.CONAN_BUILD }}" echo "Dir .conan" - dir %USERPROFILE%\.conan + dir "${{ env.CONAN_HOME }}" shell: cmd - name: Set up Windows Python ${{ matrix.python_version }}