From 0ac52da460ae2f8b2ed174d2db0105e338365a1a Mon Sep 17 00:00:00 2001 From: Luis Pater Date: Thu, 12 Mar 2026 10:50:46 +0800 Subject: [PATCH] chore(ci): update model catalog fetch method in release workflow --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 30cdbeab..3e653523 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,9 @@ jobs: with: fetch-depth: 0 - name: Refresh models catalog - run: curl -fsSL https://raw.githubusercontent.com/router-for-me/models/refs/heads/main/models.json -o internal/registry/models/models.json + run: | + git fetch --depth 1 https://github.com/router-for-me/models.git main + git show FETCH_HEAD:models.json > internal/registry/models/models.json - run: git fetch --force --tags - uses: actions/setup-go@v4 with: