Skip to content

Commit b7ad980

Browse files
committed
Windows is failing when conan cache is restored, try adding /.conan to cache
1 parent a4ddee4 commit b7ad980

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/app_build.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,6 @@ jobs:
224224
OS_APP_VERSION=$(cat version.txt)
225225
echo OS_APP_VERSION=$OS_APP_VERSION >> $GITHUB_ENV
226226
227-
CONAN_INSTALL_MD5=$(md5sum ConanInstall.cmake | awk '{print $1}')
228-
echo CONAN_INSTALL_MD5=$CONAN_INSTALL_MD5 >> $GITHUB_ENV
229-
230227
echo PLATFORM_NAME=${{ matrix.PLATFORM_NAME }} >> $GITHUB_ENV
231228
echo CPACK_BINARY_DEB=${{ matrix.CPACK_BINARY_DEB }} >> $GITHUB_ENV
232229
echo CPACK_BINARY_IFW=${{ matrix.CPACK_BINARY_IFW }} >> $GITHUB_ENV
@@ -264,6 +261,9 @@ jobs:
264261
echo "~/Qt/QtIFW-3.2.2/bin/" >> $GITHUB_PATH
265262
fi;
266263
264+
CONAN_INSTALL_MD5=$(md5sum ConanInstall.cmake | awk '{print $1}')
265+
echo CONAN_INSTALL_MD5=$CONAN_INSTALL_MD5 >> $GITHUB_ENV
266+
267267
# TODO: cache the QtIFW folder too
268268

269269
- name: Cache entire build directory
@@ -357,7 +357,9 @@ jobs:
357357
id: cacheconan
358358
uses: actions/cache@v2
359359
with:
360-
path: ~/.conan
360+
path: |
361+
~/.conan
362+
/.conan
361363
key: ${{ matrix.os }}-conan-cache-${{ env.CONAN_INSTALL_MD5 }}
362364

363365
- name: Did restoring the conan-cache work? No
@@ -374,6 +376,7 @@ jobs:
374376
run: |
375377
ls ~/.conan/
376378
ls ~/.conan/data/
379+
ls /.conan
377380
378381
- name: Create Build Environment and locate openstudio
379382
# Some projects don't allow in-source building, so create a separate build directory

0 commit comments

Comments
 (0)