Skip to content

Commit

Permalink
uses: actions/cache@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
yuiseki committed Aug 10, 2024
1 parent e8c637f commit a26c0bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ollama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
ollama serve &
sleep 5
time curl -i http://localhost:11434
- name: Cache Ollama models
id: cache-ollama-models
uses: actions/cache@v4
with:
path: /usr/share/ollama/.ollama/models
key: ${{ runner.os }}-ollama-models
- name: Pull gemma2:2b
run: |
ollama pull gemma2:2b
Expand Down

0 comments on commit a26c0bc

Please sign in to comment.