mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
Fix the Windows workflow
This commit is contained in:
parent
a86a5a026e
commit
43fc170224
|
|
@ -176,7 +176,11 @@ jobs:
|
|||
fi
|
||||
|
||||
# Rename back after creating the zip (the next step assumes this folder exists)
|
||||
mv text-generation-webui-${VERSION_CLEAN} text-generation-webui
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
powershell -Command "Move-Item -Path text-generation-webui-${VERSION_CLEAN} -Destination text-generation-webui -Force"
|
||||
else
|
||||
mv text-generation-webui-${VERSION_CLEAN} text-generation-webui
|
||||
fi
|
||||
|
||||
- name: Upload files to a GitHub release
|
||||
id: upload-release
|
||||
|
|
|
|||
|
|
@ -162,7 +162,11 @@ jobs:
|
|||
fi
|
||||
|
||||
# Rename back after creating the zip (the next step assumes this folder exists)
|
||||
mv text-generation-webui-${VERSION_CLEAN} text-generation-webui
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
powershell -Command "Move-Item -Path text-generation-webui-${VERSION_CLEAN} -Destination text-generation-webui -Force"
|
||||
else
|
||||
mv text-generation-webui-${VERSION_CLEAN} text-generation-webui
|
||||
fi
|
||||
|
||||
- name: Upload files to a GitHub release
|
||||
id: upload-release
|
||||
|
|
|
|||
6
.github/workflows/build-portable-release.yml
vendored
6
.github/workflows/build-portable-release.yml
vendored
|
|
@ -186,7 +186,11 @@ jobs:
|
|||
fi
|
||||
|
||||
# Rename back after creating the zip (the next step assumes this folder exists)
|
||||
mv text-generation-webui-${VERSION_CLEAN} text-generation-webui
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
powershell -Command "Move-Item -Path text-generation-webui-${VERSION_CLEAN} -Destination text-generation-webui -Force"
|
||||
else
|
||||
mv text-generation-webui-${VERSION_CLEAN} text-generation-webui
|
||||
fi
|
||||
|
||||
- name: Upload files to a GitHub release
|
||||
id: upload-release
|
||||
|
|
|
|||
Loading…
Reference in a new issue