separate two sub-fns in src/bm25.cpp #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: 0 0 * * 1 | |
name: Update pkgmatch data | |
jobs: | |
update-pkgmatch-data: | |
runs-on: ubuntu-latest | |
if: contains(github.event.head_commit.message, 'update data') | |
permissions: | |
contents: write | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install R | |
uses: r-lib/actions/setup-r@v2 | |
- name: ollama | |
run: | | |
curl -fsSL https://ollama.com/install.sh | sh | |
ollama serve & | |
sleep 5 | |
ollama pull jina/jina-embeddings-v2-base-en | |
ollama pull ordis/jina-embeddings-v2-base-code | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
- name: Install this package | |
run: R CMD INSTALL . |