Skip to content

chore: make the workflow run successfully #2

chore: make the workflow run successfully

chore: make the workflow run successfully #2

Workflow file for this run

name: Download Ollama model
on:
workflow_dispatch:
inputs:
model_name:
required: true
description: Specify model to be pulled by ollama such as llama3, phi3, etc.
push:
branches:
- ollama-model-download
workflow_call:
jobs:
download:
runs-on: ubuntu-latest
steps:
- name: Setup Ollama
run: curl -fsSL https://ollama.com/install.sh | sh
#- name: Pull a model
# run: ollama pull ${{ github.event.inputs.model_name }}
#- name: Copy model file to the current directory
# run: |
# ./copy-model-file.sh /usr/share/ollama/.ollama/models/blobs ${{ github.event.inputs.model_name }}
# ls