Skip to content

Commit

Permalink
Merge pull request #281 from openstudiocoalition/disable_conan_cache
Browse files Browse the repository at this point in the history
Disable conan cache
  • Loading branch information
jmarrec authored Nov 27, 2020
2 parents bbbd1d3 + e865c4f commit f26af4d
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/app_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,31 +352,30 @@ jobs:
conan config set general.revisions_enabled=True
conan config set general.parallel_download=8
- name: Cache conan cache?
# To avoid downloading the SDK all the time, we try to cache it
id: cacheconan
uses: actions/cache@v2
with:
path: |
~/.conan
/.conan
key: ${{ matrix.os }}-conan-cache-${{ env.CONAN_INSTALL_MD5 }}
# DLM: skip caching conan, causing too many problems
#- name: Cache conan cache?
# # To avoid downloading the SDK all the time, we try to cache it
# id: cacheconan
# uses: actions/cache@v2
# with:
# path: |
# ~/.conan
# key: ${{ matrix.os }}-conan-cache-${{ env.CONAN_INSTALL_MD5 }}

- name: Did restoring the conan-cache work? No
# If the SDK wasn't found in the cache
if: steps.cacheconan.outputs.cache-hit != 'true'
#if: steps.cacheconan.outputs.cache-hit != 'true'
run: |
echo "Conan cache not found"
echo "Create the conan data directory"
conan user
- name: Did restoring the conan-cache work? Yes
# If the SDK wasn't found in the cache
if: steps.cacheconan.outputs.cache-hit == 'true'
run: |
ls ~/.conan/
ls ~/.conan/data/
ls /.conan
#- name: Did restoring the conan-cache work? Yes
# # If the SDK wasn't found in the cache
# if: steps.cacheconan.outputs.cache-hit == 'true'
# run: |
# ls ~/.conan/
# ls ~/.conan/data/

- 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 f26af4d

Please sign in to comment.