mirror of https://github.com/leafspark/AutoGGUF
ci: make sure to include convert_hf_to_gguf.py in output
This commit is contained in:
parent
e307a4d3b5
commit
7886c38bfb
|
@ -63,6 +63,7 @@ jobs:
|
||||||
$distPath = if ("${{ github.event.inputs.build_type }}" -eq "RELEASE") { "build\release\dist" } else { "build\dev\dist" }
|
$distPath = if ("${{ github.event.inputs.build_type }}" -eq "RELEASE") { "build\release\dist" } else { "build\dev\dist" }
|
||||||
New-Item -ItemType Directory -Force -Path "$distPath\src\gguf-py"
|
New-Item -ItemType Directory -Force -Path "$distPath\src\gguf-py"
|
||||||
Copy-Item -Path "src\gguf-py\*" -Destination "$distPath\src\gguf-py" -Recurse
|
Copy-Item -Path "src\gguf-py\*" -Destination "$distPath\src\gguf-py" -Recurse
|
||||||
|
Copy-Item -Path "src\convert_hf_to_gguf.py" -Destination "$distPath\src"
|
||||||
Copy-Item -Path "src\convert_lora_to_gguf.py" -Destination "$distPath\src"
|
Copy-Item -Path "src\convert_lora_to_gguf.py" -Destination "$distPath\src"
|
||||||
Copy-Item -Path "src\convert_lora_to_ggml.py" -Destination "$distPath\src"
|
Copy-Item -Path "src\convert_lora_to_ggml.py" -Destination "$distPath\src"
|
||||||
|
|
||||||
|
@ -72,6 +73,7 @@ jobs:
|
||||||
distPath=$(if [ "${{ github.event.inputs.build_type }}" = "RELEASE" ]; then echo "build/release/dist"; else echo "build/dev/dist"; fi)
|
distPath=$(if [ "${{ github.event.inputs.build_type }}" = "RELEASE" ]; then echo "build/release/dist"; else echo "build/dev/dist"; fi)
|
||||||
mkdir -p $distPath/src/gguf-py
|
mkdir -p $distPath/src/gguf-py
|
||||||
cp -R src/gguf-py/* $distPath/src/gguf-py/
|
cp -R src/gguf-py/* $distPath/src/gguf-py/
|
||||||
|
cp src\convert_hf_to_gguf.py $distPath/src/
|
||||||
cp src/convert_lora_to_gguf.py $distPath/src/
|
cp src/convert_lora_to_gguf.py $distPath/src/
|
||||||
cp src/convert_lora_to_ggml.py $distPath/src/
|
cp src/convert_lora_to_ggml.py $distPath/src/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue