mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-16 12:00:24 +00:00
forgejo/workflows: include size and mtime in cache hash
In case some file has been updated. Generally fate samples shouldn't be replaced to preserve compatibility with older revisions, but before merge it may happen that files is replaced. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
parent
f40766da45
commit
fa72f9a292
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
id: fate
|
||||
run: |
|
||||
make fate-rsync SAMPLES=$PWD/fate-suite
|
||||
echo "hash=$(find fate-suite -type f | sort | sha256sum | cut -d' ' -f1)" >> $FORGEJO_OUTPUT
|
||||
echo "hash=$(find fate-suite -type f -printf "%P %s %T@\n" | sort | sha256sum | cut -d' ' -f1)" >> $FORGEJO_OUTPUT
|
||||
- name: Cache Fate-Suite
|
||||
uses: actions/cache/save@v4
|
||||
if: ${{ format('fate-suite-{0}', steps.fate.outputs.hash) != steps.cache.outputs.cache-matched-key }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue