Skip to content

feat: add per-model keep_alive configuration for idle eviction #822

feat: add per-model keep_alive configuration for idle eviction

feat: add per-model keep_alive configuration for idle eviction #822

Workflow file for this run

name: Build model-cli
on:
push:
branches: [ "main" ]
paths:
- 'cmd/cli/**'
- '.github/workflows/cli-build.yml'
pull_request:
branches: [ "main" ]
paths:
- 'cmd/cli/**'
- '.github/workflows/cli-build.yml'
workflow_dispatch:
inputs:
branch:
description: "Branch"
required: true
default: "main"
jobs:
build:
runs-on: macos-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5
with:
go-version-file: cmd/cli/go.mod
cache: true
cache-dependency-path: cmd/cli/go.sum
- name: Build model-cli
working-directory: cmd/cli
run: |
make release VERSION=${{ github.sha }}
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: dist
path: |
cmd/cli/dist/
retention-days: 2
if-no-files-found: error