Skip to content

Commit fd070cc

Browse files
fix: add depends/Makefile to PACKAGES hash
1 parent 36c143b commit fd070cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-depends.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
DEP_HASH="$(echo -n "${BUILD_TARGET}" "${DEP_OPTS}" "${HOST}" | sha256sum | head -c 64)"
5555
echo "DEP_HASH=${DEP_HASH}" >> "${GITHUB_OUTPUT}"
5656
DOCKERFILE_HASH="${{ hashFiles('contrib/containers/ci/ci.Dockerfile', 'contrib/containers/ci/ci-slim.Dockerfile') }}"
57-
PACKAGES_HASH="${{ hashFiles('depends/packages/*') }}"
57+
PACKAGES_HASH="${{ hashFiles('depends/packages/*', 'depends/Makefile') }}"
5858
CACHE_KEY="depends-${DOCKERFILE_HASH}-${{ inputs.build-target }}-${DEP_HASH}-${PACKAGES_HASH}"
5959
echo "cache-key=${CACHE_KEY}" >> "${GITHUB_OUTPUT}"
6060
echo "Cache key: ${CACHE_KEY}"

0 commit comments

Comments
 (0)