Skip to content

Commit 699bc6b

Browse files
committed
github actions updates for deprecation of nodejs 20 (+1 squashed commits)
Squashed commits: [0ed5af3] checkout to v4
1 parent 2f63f94 commit 699bc6b

11 files changed

Lines changed: 29 additions & 29 deletions

.github/workflows/kcpp-build-release-linux-oldpc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- name: Clone
2525
id: checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
with:
2828
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
2929

@@ -56,7 +56,7 @@ jobs:
5656
run: mv dist/koboldcpp-linux-x64-cuda1150 dist/koboldcpp-linux-x64-oldpc
5757

5858
- name: Save artifact
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v5
6060
with:
6161
name: kcpp_linux_binary
6262
path: dist/

.github/workflows/kcpp-build-release-linux-rocm.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
df -h
3333
3434
- name: Checkout source
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636
with:
3737
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
3838

@@ -57,7 +57,7 @@ jobs:
5757
"
5858
5959
- name: Save artifact
60-
uses: actions/upload-artifact@v4
60+
uses: actions/upload-artifact@v5
6161
with:
6262
name: kcpp_linux_binary
6363
path: ${{ github.workspace }}/dist/

.github/workflows/kcpp-build-release-linux.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- name: Clone
2424
id: checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
2828

@@ -55,7 +55,7 @@ jobs:
5555
run: mv dist/koboldcpp-linux-x64-cuda1210 dist/koboldcpp-linux-x64
5656

5757
- name: Save artifact
58-
uses: actions/upload-artifact@v4
58+
uses: actions/upload-artifact@v5
5959
with:
6060
name: kcpp_linux_binary
6161
path: dist/

.github/workflows/kcpp-build-release-macos.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: Clone
1919
id: checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
2323

@@ -45,7 +45,7 @@ jobs:
4545
dist/koboldcpp-mac-arm64 --model baby_llama.gguf --gpulayers 99 --benchmark --prompt 'Hi, my name is'
4646
4747
- name: Save artifact
48-
uses: actions/upload-artifact@v4
48+
uses: actions/upload-artifact@v5
4949
with:
5050
name: kcpp_mac_binary
5151
path: dist/

.github/workflows/kcpp-build-release-win-oldpc.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: Clone
1919
id: checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
2323

@@ -26,7 +26,7 @@ jobs:
2626
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
2727
2828
- name: Get Python
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: 3.8.10
3232

@@ -91,7 +91,7 @@ jobs:
9191
run: |
9292
make LLAMA_VULKAN=1 LLAMA_PORTABLE=1 -j ${env:NUMBER_OF_PROCESSORS} LLAMA_NOAVX2=1
9393
94-
- uses: Jimver/cuda-toolkit@v0.2.15
94+
- uses: Jimver/cuda-toolkit@v0.2.24
9595
id: cuda-toolkit
9696
with:
9797
cuda: '11.4.4'
@@ -124,7 +124,7 @@ jobs:
124124
./make_pyinstaller_cuda_oldpc.bat
125125
126126
- name: Save artifact
127-
uses: actions/upload-artifact@v4
127+
uses: actions/upload-artifact@v5
128128
with:
129129
name: kcpp_windows_pyinstallers
130130
path: dist/

.github/workflows/kcpp-build-release-win.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: Clone
1919
id: checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
2323

@@ -26,7 +26,7 @@ jobs:
2626
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
2727
2828
- name: Get Python
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: 3.8.10
3232

@@ -125,7 +125,7 @@ jobs:
125125
./make_pyinstaller_cuda.bat
126126
127127
- name: Save artifact
128-
uses: actions/upload-artifact@v4
128+
uses: actions/upload-artifact@v5
129129
with:
130130
name: kcpp_windows_pyinstallers
131131
path: dist/
@@ -136,7 +136,7 @@ jobs:
136136
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
137137
138138
- name: Save Standalone Vulkan Shaders
139-
uses: actions/upload-artifact@v4
139+
uses: actions/upload-artifact@v5
140140
with:
141141
name: vulkan_precompiled_shaders
142142
path: |
@@ -162,7 +162,7 @@ jobs:
162162
shell: pwsh
163163

164164
- name: Upload Tools
165-
uses: actions/upload-artifact@v4
165+
uses: actions/upload-artifact@v5
166166
with:
167167
name: koboldcpp_tools
168168
path: |

.github/workflows/test-autoguess.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: '3.x' # Adjust to your preferred Python version
2222

.github/workflows/test-unofficial-arm64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: Clone
1919
id: checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
2323

@@ -86,7 +86,7 @@ jobs:
8686
"
8787
8888
- name: Save artifact
89-
uses: actions/upload-artifact@v4
89+
uses: actions/upload-artifact@v5
9090
with:
9191
name: kcpp_linux_arm64_binary
9292
path: dist/

.github/workflows/test-unofficial-linux-olderpc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- name: Clone
2525
id: checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
with:
2828
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
2929

@@ -56,7 +56,7 @@ jobs:
5656
run: mv dist/koboldcpp-linux-x64-cuda1150 dist/koboldcpp-linux-x64-olderpc
5757

5858
- name: Save artifact
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v5
6060
with:
6161
name: kcpp_linux_binary
6262
path: dist/

.github/workflows/test-unofficial-win-olderpc.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: Clone
1919
id: checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
2323

@@ -26,7 +26,7 @@ jobs:
2626
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
2727
2828
- name: Get Python
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: 3.8.10
3232

@@ -97,7 +97,7 @@ jobs:
9797
./make_pyinstaller_oldpc.bat
9898
9999
- name: Save artifact
100-
uses: actions/upload-artifact@v4
100+
uses: actions/upload-artifact@v5
101101
with:
102102
name: kcpp_windows_pyinstallers
103103
path: dist/

0 commit comments

Comments
 (0)