Skip to content

Commit fa19b41

Browse files
Phqen1xclaude
andcommitted
ci: pin CUDA clone steps to ref: master
Without an explicit ref, actions/checkout makes a GitHub API call to determine the default branch of leejet/stable-diffusion.cpp. With 14 parallel CUDA jobs all doing this simultaneously this call can fail, presenting as a checkout error. Pinning to master skips the API call. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8018705 commit fa19b41

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ jobs:
117117
submodules: recursive
118118
fetch-depth: 0
119119
repository: 'leejet/stable-diffusion.cpp'
120+
ref: master
120121

121122
- name: ccache
122123
uses: ggml-org/ccache-action@v1.2.16
@@ -217,6 +218,7 @@ jobs:
217218
submodules: recursive
218219
fetch-depth: 0
219220
repository: 'leejet/stable-diffusion.cpp'
221+
ref: master
220222

221223
- name: Install CUDA Toolkit
222224
id: cuda-toolkit

0 commit comments

Comments
 (0)