[GA] tmp disable build cache

This commit is contained in:
Denis Angell
2025-03-25 10:37:17 +01:00
parent 9178aa9d8a
commit 69b7728b2d
3 changed files with 18 additions and 21 deletions

View File

@@ -10,10 +10,6 @@ inputs:
runs:
using: composite
steps:
- name: dependencies
uses: ./.github/actions/dependencies
with:
configuration: ${{ inputs.configuration }}
- name: configure
shell: bash
run: |

View File

@@ -20,7 +20,8 @@ runs:
path: ~/.conan/data
key: ${{ inputs.cache-key }}-${{ inputs.configuration }}-conan-${{ hashFiles('conanfile.py') }}
restore-keys: |
${{ runner.os }}-conan-
${{ inputs.cache-key }}-${{ inputs.configuration }}-conan-
${{ inputs.cache-key }}-conan-
- name: install dependencies
if: steps.cache-restore.outputs.cache-hit != 'true'
@@ -39,4 +40,4 @@ runs:
uses: actions/cache/save@v4
with:
path: ~/.conan/data
key: ${{ steps.cache-restore.outputs.cache-primary-key }}
key: ${{ inputs.cache-key }}-${{ inputs.configuration }}-conan-${{ hashFiles('conanfile.py') }}

View File

@@ -92,15 +92,15 @@ jobs:
SAFE_BRANCH=$(echo "${{ github.ref_name }}" | tr -c 'a-zA-Z0-9_.-' '-')
echo "name=${SAFE_BRANCH}" >> $GITHUB_OUTPUT
- name: Restore build directory cache
id: build-cache-restore
uses: actions/cache/restore@v4
with:
path: ${{ env.build_dir }}
key: ${{ runner.os }}-build-${{ matrix.configuration }}-${{ steps.safe-branch.outputs.name }}-${{ hashFiles('**/conanfile.txt', '**/conanfile.py') }}
restore-keys: |
${{ runner.os }}-build-${{ matrix.configuration }}-${{ steps.safe-branch.outputs.name }}-
${{ runner.os }}-build-${{ matrix.configuration }}-
# - name: Restore build directory cache
# id: build-cache-restore
# uses: actions/cache/restore@v4
# with:
# path: ${{ env.build_dir }}
# key: ${{ runner.os }}-build-${{ matrix.configuration }}-${{ steps.safe-branch.outputs.name }}-${{ hashFiles('**/conanfile.txt', '**/conanfile.py') }}
# restore-keys: |
# ${{ runner.os }}-build-${{ matrix.configuration }}-${{ steps.safe-branch.outputs.name }}-
# ${{ runner.os }}-build-${{ matrix.configuration }}-
- name: Build
uses: ./.github/actions/build
@@ -108,12 +108,12 @@ jobs:
generator: ${{ matrix.generator }}
configuration: ${{ matrix.configuration }}
- name: Save build directory cache
if: success()
uses: actions/cache/save@v4
with:
path: ${{ env.build_dir }}
key: ${{ steps.build-cache-restore.outputs.cache-primary-key }}
# - name: Save build directory cache
# if: success()
# uses: actions/cache/save@v4
# with:
# path: ${{ env.build_dir }}
# key: ${{ steps.build-cache-restore.outputs.cache-primary-key }}
- name: Test
run: |