2023-05-04 13:01:29 +00:00
|
|
|
name: Bump dependencies
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: 0 20 * * *
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
bump:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
2023-10-16 19:46:29 +00:00
|
|
|
- repository: "ggerganov/llama.cpp"
|
|
|
|
variable: "CPPLLAMA_VERSION"
|
|
|
|
branch: "master"
|
2023-05-23 19:47:47 +00:00
|
|
|
- repository: "go-skynet/go-ggml-transformers.cpp"
|
|
|
|
variable: "GOGGMLTRANSFORMERS_VERSION"
|
2023-05-04 13:01:29 +00:00
|
|
|
branch: "master"
|
|
|
|
- repository: "donomii/go-rwkv.cpp"
|
|
|
|
variable: "RWKV_VERSION"
|
|
|
|
branch: "main"
|
2023-05-09 09:43:50 +00:00
|
|
|
- repository: "ggerganov/whisper.cpp"
|
|
|
|
variable: "WHISPER_CPP_VERSION"
|
|
|
|
branch: "master"
|
2023-05-10 13:20:21 +00:00
|
|
|
- repository: "go-skynet/go-bert.cpp"
|
|
|
|
variable: "BERT_VERSION"
|
|
|
|
branch: "master"
|
2023-05-10 23:12:58 +00:00
|
|
|
- repository: "go-skynet/bloomz.cpp"
|
|
|
|
variable: "BLOOMZ_VERSION"
|
|
|
|
branch: "main"
|
2023-07-15 08:04:09 +00:00
|
|
|
- repository: "mudler/go-ggllm.cpp"
|
|
|
|
variable: "GOGGLLM_VERSION"
|
|
|
|
branch: "master"
|
|
|
|
- repository: "mudler/go-stable-diffusion"
|
|
|
|
variable: "STABLEDIFFUSION_VERSION"
|
|
|
|
branch: "master"
|
|
|
|
- repository: "mudler/go-piper"
|
|
|
|
variable: "PIPER_VERSION"
|
|
|
|
branch: "master"
|
2023-05-04 13:01:29 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-21 06:55:44 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-05-04 13:01:29 +00:00
|
|
|
- name: Bump dependencies 🔧
|
2024-08-06 07:04:57 +00:00
|
|
|
id: bump
|
2023-05-04 13:01:29 +00:00
|
|
|
run: |
|
2023-05-04 13:04:41 +00:00
|
|
|
bash .github/bump_deps.sh ${{ matrix.repository }} ${{ matrix.branch }} ${{ matrix.variable }}
|
2024-08-06 07:04:57 +00:00
|
|
|
{
|
|
|
|
echo 'message<<EOF'
|
2024-08-06 07:07:07 +00:00
|
|
|
cat "${{ matrix.variable }}_message.txt"
|
2024-08-06 07:04:57 +00:00
|
|
|
echo EOF
|
|
|
|
} >> "$GITHUB_OUTPUT"
|
2024-08-06 07:12:10 +00:00
|
|
|
{
|
|
|
|
echo 'commit<<EOF'
|
|
|
|
cat "${{ matrix.variable }}_commit.txt"
|
|
|
|
echo EOF
|
|
|
|
} >> "$GITHUB_OUTPUT"
|
2024-08-06 07:16:17 +00:00
|
|
|
rm -rfv ${{ matrix.variable }}_message.txt
|
2024-08-06 07:12:10 +00:00
|
|
|
rm -rfv ${{ matrix.variable }}_commit.txt
|
2023-05-04 13:01:29 +00:00
|
|
|
- name: Create Pull Request
|
2024-09-10 01:52:16 +00:00
|
|
|
uses: peter-evans/create-pull-request@v7
|
2023-05-04 13:01:29 +00:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.UPDATE_BOT_TOKEN }}
|
|
|
|
push-to-fork: ci-forks/LocalAI
|
2023-05-04 13:08:20 +00:00
|
|
|
commit-message: ':arrow_up: Update ${{ matrix.repository }}'
|
2024-08-06 07:16:17 +00:00
|
|
|
title: 'chore: :arrow_up: Update ${{ matrix.repository }} to `${{ steps.bump.outputs.commit }}`'
|
2023-05-04 13:08:20 +00:00
|
|
|
branch: "update/${{ matrix.variable }}"
|
2024-08-06 07:12:10 +00:00
|
|
|
body: ${{ steps.bump.outputs.message }}
|
2023-05-04 13:01:29 +00:00
|
|
|
signoff: true
|
|
|
|
|
|
|
|
|
|
|
|
|