chore(ci): update model catalog fetch method in release workflow

This commit is contained in:
Luis Pater
2026-03-12 10:50:46 +08:00
parent 817cebb321
commit 0ac52da460

View File

@@ -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: