mirror of
https://github.com/oobabooga/textgen.git
synced 2026-07-23 11:20:54 -05:00
Fix the Windows workflow
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user