[fix] CI: container-mounts bad hash

This is a typo, but if there are multiple patterns in hashFiles, they should be separated by commas.

https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#examples-with-multiple-patterns
This commit is contained in:
Ivan Gabaldon 2025-05-14 23:05:08 +02:00
parent b42f812c57
commit d0b7f26f4b

View File

@ -76,7 +76,7 @@ jobs:
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
key: "container-mounts-${{ matrix.arch }}-${{ hashFiles('./container/Dockerfile ./container/legacy/Dockerfile') }}" key: "container-mounts-${{ matrix.arch }}-${{ hashFiles('./container/Dockerfile', './container/legacy/Dockerfile') }}"
restore-keys: "container-mounts-${{ matrix.arch }}-" restore-keys: "container-mounts-${{ matrix.arch }}-"
path: | path: |
/var/tmp/buildah-cache/ /var/tmp/buildah-cache/