Skip to content

Commit

Permalink
ci: remove conanCache from release workflow. Use newer python (#2092)
Browse files Browse the repository at this point in the history
  • Loading branch information
piponazo authored Feb 13, 2022
1 parent 2a3dd2d commit cfbe0b4
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,9 @@ jobs:
version: 1.10.0

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Restore conan cache
uses: actions/cache@v2
with:
path: ${{github.workspace}}/conanCache
key: ${{runner.os}}-packaged-win-release-${{ hashFiles('conanfile.py') }}
python-version: 3.9

- name: Install doxygen
run: |
Expand All @@ -114,18 +108,15 @@ jobs:
- name: Install Conan & Common config
run: |
pip.exe install "conan==1.45.0"
conan config install https://github.com/conan-io/conanclientcert.git
conan profile new --detect default
conan profile update settings.build_type=Release default
conan profile update settings.compiler="Visual Studio" default
conan profile update settings.compiler.version=17 default
conan config set storage.path=$Env:GITHUB_WORKSPACE/conanCache
- name: Run Conan
run: |
md build
cd build
conan profile list
conan install .. --build missing
- name: Build packaged release
Expand Down

0 comments on commit cfbe0b4

Please sign in to comment.