Skip to content

Commit bb7ce53

Browse files
committed
fix(ci): clone ecosystem deps from dev branch explicitly
1 parent 0a9bcfa commit bb7ce53

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/actions/setup-deps/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ runs:
1818
GH_TOKEN: ${{ inputs.token }}
1919
run: |
2020
clone_with_retry() {
21-
local repo=$1 dest=$2
21+
local repo=$1 dest=$2 branch=${3:-dev}
2222
for i in 1 2 3; do
23-
git clone --depth=1 "https://x-access-token:${GH_TOKEN}@github.com/GrayCodeAI/${repo}.git" "$dest" && return 0
23+
git clone --depth=1 --branch "$branch" "https://x-access-token:${GH_TOKEN}@github.com/GrayCodeAI/${repo}.git" "$dest" && return 0
2424
echo "Retry $i for $repo..." && sleep $((i * 5))
2525
done
2626
echo "Failed to clone $repo after 3 attempts" && return 1
2727
}
28-
clone_with_retry eyrie ../eyrie
29-
clone_with_retry tok ../tok
30-
clone_with_retry yaad ../yaad
31-
clone_with_retry inspect ../inspect
32-
clone_with_retry sight ../sight
28+
clone_with_retry eyrie ../eyrie dev
29+
clone_with_retry tok ../tok dev
30+
clone_with_retry yaad ../yaad dev
31+
clone_with_retry inspect ../inspect dev
32+
clone_with_retry sight ../sight dev
3333
3434
- name: Set up Go
3535
uses: actions/setup-go@v5

0 commit comments

Comments
 (0)