Skip to content

Update llama cpp nightly #27

Update llama cpp nightly

Update llama cpp nightly #27

name: Update llama cpp nightly
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: {}
permissions:
pull-requests: write
contents: write
jobs:
update:
runs-on: ubuntu-latest
name: Update llama cpp
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
name: Checkout latest
with:
submodules: recursive
- name: create branch
run: git checkout -b update-llama-cpp-$(date -I)
- name: update submodules
run: git submodule update --remote
- name: config git
run: |
git config --global user.email "[email protected]"
git config --global user.name "Marcus Dunn"
- name: commit
run: git commit -am "updated llama.cpp"
- name: push
run: git push --set-upstream origin update-llama-cpp-$(date -I) --force
- name: create draft pr
run: |
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
gh pr create --fill --draft --body "please close and reopen this pull request to trigger the checks"