]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ci : add fetch-depth to xcframework upload (#12195)
authorDaniel Bevenius <redacted>
Wed, 5 Mar 2025 13:16:40 +0000 (14:16 +0100)
committerGitHub <redacted>
Wed, 5 Mar 2025 13:16:40 +0000 (14:16 +0100)
commit074c4fd39df3af974e10fbee6cc6db5d9304655b
tree4ad06070317dbf51e2cd0c2d13a64e854a80c54a
parent669912d9a5bf927312c553332ff997f0a99da8fb
ci : add fetch-depth to xcframework upload (#12195)

This commit adds the fetch-depth: 0 option to the checkout action in the
build.yml workflow file (0 meaning that it fetches the complete
history). The default value is 1 when not specified which only fetches
the latest commit.

This is necessary to ensure that `git rev-list --count HEAD` counts the
total number of commits in the history. Currently because the default is
being used the name of the xcframework artifact is always
llama-b1-xcframework.
.github/workflows/build.yml