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: