Merge pull request #3579 from ollama/mxyng/fix-ci

fix ci
This commit is contained in:
Michael Yang 2024-04-10 11:37:01 -07:00 committed by GitHub
commit c5c451ca3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 9 deletions

View file

@ -5,7 +5,6 @@ on:
paths: paths:
- '**/*' - '**/*'
- '!docs/**' - '!docs/**'
- '!examples/**'
- '!README.md' - '!README.md'
jobs: jobs:

View file

@ -24,10 +24,5 @@ func NewTray() (commontray.OllamaTray, error) {
return nil, fmt.Errorf("failed to load icon %s: %w", iconName, err) return nil, fmt.Errorf("failed to load icon %s: %w", iconName, err)
} }
tray, err := InitPlatformTray(icon, updateIcon) return InitPlatformTray(icon, updateIcon)
if err != nil {
return nil, err
}
return tray, nil
} }

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/jmorganca/ollama/api" "github.com/ollama/ollama/api"
) )
func main() { func main() {

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/jmorganca/ollama/api" "github.com/ollama/ollama/api"
) )
func main() { func main() {