github actions updates for deprecation of nodejs 20 (+1 squashed commits)

Squashed commits:

[0ed5af384] checkout to v4
This commit is contained in:
Concedo 2026-03-19 14:28:54 +08:00
parent 2f63f94fd8
commit 699bc6b278
11 changed files with 29 additions and 29 deletions

View file

@ -23,7 +23,7 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -56,7 +56,7 @@ jobs:
run: mv dist/koboldcpp-linux-x64-cuda1150 dist/koboldcpp-linux-x64-oldpc
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_linux_binary
path: dist/

View file

@ -32,7 +32,7 @@ jobs:
df -h
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -57,7 +57,7 @@ jobs:
"
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_linux_binary
path: ${{ github.workspace }}/dist/

View file

@ -22,7 +22,7 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -55,7 +55,7 @@ jobs:
run: mv dist/koboldcpp-linux-x64-cuda1210 dist/koboldcpp-linux-x64
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_linux_binary
path: dist/

View file

@ -17,7 +17,7 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -45,7 +45,7 @@ jobs:
dist/koboldcpp-mac-arm64 --model baby_llama.gguf --gpulayers 99 --benchmark --prompt 'Hi, my name is'
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_mac_binary
path: dist/

View file

@ -17,7 +17,7 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -26,7 +26,7 @@ jobs:
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
- name: Get Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8.10
@ -91,7 +91,7 @@ jobs:
run: |
make LLAMA_VULKAN=1 LLAMA_PORTABLE=1 -j ${env:NUMBER_OF_PROCESSORS} LLAMA_NOAVX2=1
- uses: Jimver/cuda-toolkit@v0.2.15
- uses: Jimver/cuda-toolkit@v0.2.24
id: cuda-toolkit
with:
cuda: '11.4.4'
@ -124,7 +124,7 @@ jobs:
./make_pyinstaller_cuda_oldpc.bat
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_windows_pyinstallers
path: dist/

View file

@ -17,7 +17,7 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -26,7 +26,7 @@ jobs:
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
- name: Get Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8.10
@ -125,7 +125,7 @@ jobs:
./make_pyinstaller_cuda.bat
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_windows_pyinstallers
path: dist/
@ -136,7 +136,7 @@ jobs:
echo "If you cannot compile vulkan shaders yourself with glslc, you can manually patch in precompiled vulkan shader source files. Copy ggml-vulkan-shaders.cpp and ggml-vulkan-shaders.hpp to the ggml/src subdirectory in KoboldCpp source files before building." > vulkan-readme.txt
- name: Save Standalone Vulkan Shaders
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: vulkan_precompiled_shaders
path: |
@ -162,7 +162,7 @@ jobs:
shell: pwsh
- name: Upload Tools
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: koboldcpp_tools
path: |

View file

@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x' # Adjust to your preferred Python version

View file

@ -17,7 +17,7 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -86,7 +86,7 @@ jobs:
"
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_linux_arm64_binary
path: dist/

View file

@ -23,7 +23,7 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -56,7 +56,7 @@ jobs:
run: mv dist/koboldcpp-linux-x64-cuda1150 dist/koboldcpp-linux-x64-olderpc
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_linux_binary
path: dist/

View file

@ -17,7 +17,7 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -26,7 +26,7 @@ jobs:
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
- name: Get Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8.10
@ -97,7 +97,7 @@ jobs:
./make_pyinstaller_oldpc.bat
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_windows_pyinstallers
path: dist/

View file

@ -17,7 +17,7 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
@ -26,7 +26,7 @@ jobs:
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
- name: Get Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8.10
@ -91,7 +91,7 @@ jobs:
run: |
make LLAMA_VULKAN=1 LLAMA_PORTABLE=1 -j ${env:NUMBER_OF_PROCESSORS}
- uses: Jimver/cuda-toolkit@v0.2.15
- uses: Jimver/cuda-toolkit@v0.2.24
id: cuda-toolkit
with:
cuda: '11.4.4'
@ -124,7 +124,7 @@ jobs:
./make_pyinstaller_cuda_oldpc.bat
- name: Save artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: kcpp_windows_pyinstallers
path: dist/