Skip to content

Commit cc064d4

Browse files
committed
Update build.yml
1 parent 2c6aad6 commit cc064d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
6161
if [ "${{ matrix.os }}" = "windows-latest" ]; then
6262
# Windows CUDA 版本
63-
DOWNLOAD_URL="https://github.com/ggml-org/llama.cpp/releases/latest/download/llama-${LLAMACPP_VERSION}-bin-win-cuda-cu12.2.0-x64.zip"
63+
DOWNLOAD_URL="https://github.com/ggml-org/llama.cpp/releases/${LLAMACPP_VERSION}/download/llama-${LLAMACPP_VERSION}-bin-win-cuda-cu12.2.0-x64.zip"
6464
EXTRACT_DIR="llama-${LLAMACPP_VERSION}-bin-win-cuda-cu12.2.0-x64"
6565
6666
echo "Downloading Windows binaries from: $DOWNLOAD_URL"
@@ -84,7 +84,7 @@ jobs:
8484
8585
elif [ "${{ matrix.os }}" = "macos-latest" ]; then
8686
# macOS ARM64 版本
87-
DOWNLOAD_URL="https://github.com/ggml-org/llama.cpp/releases/latest/download/llama-${LLAMACPP_VERSION}-bin-macos-arm64.zip"
87+
DOWNLOAD_URL="https://github.com/ggml-org/llama.cpp/releases/${LLAMACPP_VERSION}/download/llama-${LLAMACPP_VERSION}-bin-macos-arm64.zip"
8888
EXTRACT_DIR="llama-${LLAMACPP_VERSION}-bin-macos-arm64"
8989
9090
echo "Downloading macOS binaries from: $DOWNLOAD_URL"
@@ -108,7 +108,7 @@ jobs:
108108
109109
else
110110
# Linux x64 版本
111-
DOWNLOAD_URL="https://github.com/ggml-org/llama.cpp/releases/latest/download/llama-${LLAMACPP_VERSION}-bin-ubuntu-vulkan-x64.zip"
111+
DOWNLOAD_URL="https://github.com/ggml-org/llama.cpp/releases/${LLAMACPP_VERSION}/download/llama-${LLAMACPP_VERSION}-bin-ubuntu-vulkan-x64.zip"
112112
EXTRACT_DIR="llama-${LLAMACPP_VERSION}-bin-ubuntu-x64"
113113
114114
echo "Downloading Linux binaries from: $DOWNLOAD_URL"

0 commit comments

Comments
 (0)