Skip to content

Commit

Permalink
fix permission error
Browse files Browse the repository at this point in the history
  • Loading branch information
yuiseki committed Aug 10, 2024
1 parent f160442 commit 3b078b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ollama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
id: cache-ollama-models
uses: actions/cache@v4
with:
path: ~/.ollama/models
key: ${{ runner.os }}-ollama-models
path: ~/.ollama
key: ${{ runner.os }}-ollama
- name: Install Ollama
env:
OLLAMA_MODELS: ~/.ollama/models
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Change permissions
run: |
sudo chown -R ollama:ollama ~/.ollama
sudo chmod -R 775 ~/.ollama
sudo chmod -R 777 ~/.ollama
- name: Start serving
env:
OLLAMA_MODELS: ~/.ollama/models
Expand Down

0 comments on commit 3b078b6

Please sign in to comment.