Install uv before the clean-install verification step

This commit is contained in:
Victor Kuznetsov committed 2026-08-30 17:31:44 -07:00
1 parent 1a6f50db75
commit 1e9572e2d4
1 file changed
+4
+4
View File
@@ -60,12 +60,16 @@ jobs:
"
# -- Clean install from PyPI ---------------------------------------------
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Verify clean install
env:
VERSION: ${{ steps.v.outputs.version }}
run: |
set -euo pipefail
echo "Installing remove-ai-watermarks==$VERSION in a clean environment..."
export PATH="$HOME/.local/bin:$PATH"
result=$(uvx "remove-ai-watermarks==$VERSION" remove-ai-watermarks --version 2>&1) \
|| { echo "::error::Clean install failed: $result"; exit 1; }
echo " Clean install: $result"