Skip to content

Commit

Permalink
chore: Fix Appveyor failing due to adding a remote that already exists
Browse files Browse the repository at this point in the history
Also drop the cache whenever the conanfile.py changes to ensure that we
don't work against stale data when adding dependencies and things.
  • Loading branch information
robinlinden committed Feb 9, 2022
1 parent b64825b commit 6ee8fa0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
cache:
- '%USERPROFILE%\.conan'
- '%USERPROFILE%\.conan -> conanfile.py'

install:
- set PATH=C:\Python38-x64\Scripts;%PATH%
- py -3 -m pip install conan

before_build:
- conan remote add -i 0 conancenter https://center.conan.io
- conan install -if _build .

build_script:
Expand Down

0 comments on commit 6ee8fa0

Please sign in to comment.