ci: Conan data caching disabled

This commit is contained in:
Mateusz Pusz
2020-12-23 22:48:29 +01:00
parent 31d00ea370
commit 942477455c

View File

@@ -51,17 +51,17 @@ jobs:
build_type: [ "Release", "Debug" ] build_type: [ "Release", "Debug" ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Cache Conan data # - name: Cache Conan data
uses: actions/cache@v2 # uses: actions/cache@v2
env: # env:
cache-name: cache-conan-data # cache-name: cache-conan-data
with: # with:
path: ~/.conan/data # path: ~/.conan/data
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/metadata.json') }} # key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/metadata.json') }}
restore-keys: | # restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}- # ${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build- # ${{ runner.os }}-build-
${{ runner.os }}- # ${{ runner.os }}-
- name: Install Ninja - name: Install Ninja
shell: bash shell: bash
run: | run: |
@@ -70,7 +70,7 @@ jobs:
elif [ $RUNNER_OS == 'Windows' ]; then elif [ $RUNNER_OS == 'Windows' ]; then
choco install ninja choco install ninja
else else
echo "$RUNNER_OS not supported" echo "'$RUNNER_OS' not supported"
exit 1 exit 1
fi fi
- name: Set up Python - name: Set up Python
@@ -89,6 +89,7 @@ jobs:
elif [ ${{ matrix.config.compiler.type }} == 'CLANG' ]; then elif [ ${{ matrix.config.compiler.type }} == 'CLANG' ]; then
conan profile update settings.compiler.libcxx=libc++ default conan profile update settings.compiler.libcxx=libc++ default
fi fi
conan profile show default
- name: Run conan-package-tools - name: Run conan-package-tools
env: env:
CONAN_USERNAME: mpusz CONAN_USERNAME: mpusz