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
|
fi
|
||||||
|
|
||||||
# Rename back after creating the zip (the next step assumes this folder exists)
|
# Rename back after creating the zip (the next step assumes this folder exists)
|
||||||
|
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
|
mv text-generation-webui-${VERSION_CLEAN} text-generation-webui
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload files to a GitHub release
|
- name: Upload files to a GitHub release
|
||||||
id: upload-release
|
id: upload-release
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,11 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Rename back after creating the zip (the next step assumes this folder exists)
|
# Rename back after creating the zip (the next step assumes this folder exists)
|
||||||
|
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
|
mv text-generation-webui-${VERSION_CLEAN} text-generation-webui
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload files to a GitHub release
|
- name: Upload files to a GitHub release
|
||||||
id: upload-release
|
id: upload-release
|
||||||
|
|
|
||||||
4
.github/workflows/build-portable-release.yml
vendored
4
.github/workflows/build-portable-release.yml
vendored
|
|
@ -186,7 +186,11 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Rename back after creating the zip (the next step assumes this folder exists)
|
# Rename back after creating the zip (the next step assumes this folder exists)
|
||||||
|
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
|
mv text-generation-webui-${VERSION_CLEAN} text-generation-webui
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload files to a GitHub release
|
- name: Upload files to a GitHub release
|
||||||
id: upload-release
|
id: upload-release
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue