Skip to content

Commit

Permalink
Windows is failing when conan cache is restored, try adding /.conan t…
Browse files Browse the repository at this point in the history
…o cache
  • Loading branch information
macumber committed Nov 25, 2020
1 parent a4ddee4 commit b7ad980
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/app_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,6 @@ jobs:
OS_APP_VERSION=$(cat version.txt)
echo OS_APP_VERSION=$OS_APP_VERSION >> $GITHUB_ENV
CONAN_INSTALL_MD5=$(md5sum ConanInstall.cmake | awk '{print $1}')
echo CONAN_INSTALL_MD5=$CONAN_INSTALL_MD5 >> $GITHUB_ENV
echo PLATFORM_NAME=${{ matrix.PLATFORM_NAME }} >> $GITHUB_ENV
echo CPACK_BINARY_DEB=${{ matrix.CPACK_BINARY_DEB }} >> $GITHUB_ENV
echo CPACK_BINARY_IFW=${{ matrix.CPACK_BINARY_IFW }} >> $GITHUB_ENV
Expand Down Expand Up @@ -264,6 +261,9 @@ jobs:
echo "~/Qt/QtIFW-3.2.2/bin/" >> $GITHUB_PATH
fi;
CONAN_INSTALL_MD5=$(md5sum ConanInstall.cmake | awk '{print $1}')
echo CONAN_INSTALL_MD5=$CONAN_INSTALL_MD5 >> $GITHUB_ENV
# TODO: cache the QtIFW folder too

- name: Cache entire build directory
Expand Down Expand Up @@ -357,7 +357,9 @@ jobs:
id: cacheconan
uses: actions/cache@v2
with:
path: ~/.conan
path: |
~/.conan
/.conan
key: ${{ matrix.os }}-conan-cache-${{ env.CONAN_INSTALL_MD5 }}

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

0 comments on commit b7ad980

Please sign in to comment.