Skip to content

Commit

Permalink
Upload venv as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Feb 18, 2025
1 parent 5bc3193 commit 1732ce0
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/windows-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,9 @@ jobs:
exit /b 1
)
- name: Zip venv directory
shell: cmd
run: |
echo Zipping the venv directory...
powershell -Command "Compress-Archive -Path venv -DestinationPath venv.zip"
if errorlevel 1 (
echo Failed to zip the venv directory.
exit /b 1
)
- name: Upload venv.zip using uploadtool.py
shell: cmd
run: |
echo Uploading venv.zip...
venv\Scripts\python.exe uploadtool.py venv.zip
if errorlevel 1 (
echo Failed to upload venv.zip.
exit /b 1
)
- name: Upload venv as artifact
uses: actions/upload-artifact@v4
with:
name: venv
path: venv
retention-days: 1

0 comments on commit 1732ce0

Please sign in to comment.