Save and restore ci_bench cache (#21750)

This commit is contained in:
Federico Ceratto
2023-04-29 08:01:23 +01:00
committed by GitHub
parent 43f29842fc
commit 77093bf7b9

View File

@@ -73,22 +73,22 @@ jobs:
id: minimize-cache
uses: actions/cache/restore@v3
with:
path: minimize.sqlite
path: minimize.csv
key: minimize-db-key
- name: 'Update minimize db'
shell: bash
run: ./minimize/minimize update-db
# - name: 'Save minimize cached database'
#if: |
# github.event_name == 'push' && github.ref == 'refs/heads/devel' &&
# matrix.target == 'linux'
# id: minimize-cache
# uses: actions/cache/save@v3
# with:
# path: minimize.sqlite
# key: minimize-db-key
- name: 'Save minimize cached database'
if: |
github.event_name == 'push' && github.ref == 'refs/heads/devel' &&
matrix.target == 'linux'
id: minimize-cache
uses: actions/cache/save@v3
with:
path: minimize.csv
key: minimize-db-key
- name: 'Generate minimize report'
shell: bash