aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2025-08-04 06:33:10 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2025-08-04 21:49:56 +0000
commitefeddd1b8b616304d653f6cf7f0ba2473114f1e2 (patch)
treeca98e3af6297c5c7c5e06e7fa34e638852393a2a
parentf3c3a6ecfb230c56a8ff9d219d79d5981b2aa4f3 (diff)
downloadffmpeg-efeddd1b8b616304d653f6cf7f0ba2473114f1e2.tar.gz
forgejo/workflows: sort file list for cache hash
Makes find output consistent. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
-rw-r--r--.forgejo/workflows/test.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index dcec4bd415..56e844ff4b 100644
--- a/.forgejo/workflows/test.yml
+++ b/.forgejo/workflows/test.yml
@@ -30,7 +30,7 @@ jobs:
id: fate
run: |
make fate-rsync SAMPLES=$PWD/fate-suite
- echo "hash=$(find fate-suite -type f | sha256sum | cut -d' ' -f1)" >> $FORGEJO_OUTPUT
+ echo "hash=$(find fate-suite -type f | 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 }}