Update conda-pack-windows.yml

This commit is contained in:
Menghuan 2024-12-05 23:44:17 +08:00 committed by GitHub
parent de28c44ff8
commit bbf1a577f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -42,10 +42,10 @@ jobs:
conda pack -n gpt -o gpt.tar.gz
- name: Create workspace zip
shell: bash -l {0}
shell: pwsh
run: |
mkdir workspace
cp -r * workspace/ 2>/dev/null || :
cp -r * workspace/ 2>$null
rm -rf workspace/.git*
mv gpt.tar.gz workspace/
Compress-Archive -Path "workspace\*" -DestinationPath "workspace_with_env.zip"