Skip to content

Commit 97ca79c

Browse files
authored
dont use /tmp
1 parent fa1440e commit 97ca79c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -417,22 +417,21 @@ jobs:
417417
id: cache_vulkan_sdk
418418
uses: actions/cache@v4
419419
with:
420-
path: /tmp/vulkan_sdk/${{ env.VULKAN_SDK_VERSION }}
420+
path: ./vulkan_sdk/${{ env.VULKAN_SDK_VERSION }}
421421
key: vulkan-sdk-${{ env.VULKAN_SDK_VERSION }}-${{ runner.os }}
422422

423423
- name: Install Vulkan SDK
424424
if: steps.cache_vulkan_sdk.outputs.cache-hit != 'true'
425425
id: vulkan_sdk_install
426426
run: |
427-
mkdir -p /tmp/vulkan_sdk
428-
cd /tmp/vulkan_sdk
429-
wget https://sdk.lunarg.com/sdk/download/${VULKAN_SDK_VERSION}/linux/vulkan_sdk.tar.xz
430-
tar -xf vulkan_sdk.tar.xz
427+
mkdir -p vulkan_sdk
428+
cd vulkan_sdk
429+
curl --no-progress-meter https://sdk.lunarg.com/sdk/download/latest/linux/vulkan_sdk.tar.xz | tar -Jx --strip-components=1
431430
432431
- name: Build
433432
id: cmake_build
434433
run: |
435-
source /tmp/vulkan_sdk/${VULKAN_SDK_VERSION}/setup-env.sh
434+
source ./vulkan_sdk/setup-env.sh
436435
cmake -B build \
437436
-DGGML_VULKAN=ON
438437
cmake --build build --config Release -j $(nproc)

0 commit comments

Comments
 (0)