diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2888e90a..1c9de5b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -272,13 +272,16 @@ jobs: python-version: ${{ matrix.python-version }} allow-prereleases: true + - name: Install uv + uses: astral-sh/setup-uv@v4 + - name: Create virtual environment (Linux / MacOS) # install uv and use it to create a virtual environment, then add it to # environment variables so that it is automatically activated and can be # used for tests below if: ${{ runner.os != 'Windows' }} run: | - curl -LsSf https://astral.sh/uv/install.sh | sh + # curl -LsSf https://astral.sh/uv/install.sh | sh # . $HOME/.local/bin/env uv venv .venv echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV @@ -287,7 +290,7 @@ jobs: - name: Create virtual environment (Windows) if: ${{ runner.os == 'Windows' }} run: | - irm https://astral.sh/uv/install.ps1 | iex + # irm https://astral.sh/uv/install.ps1 | iex uv venv .venv "VIRTUAL_ENV=.venv" | Out-File -FilePath $env:GITHUB_ENV -Append "$PWD/.venv/Scripts" | Out-File -FilePath $env:GITHUB_PATH -Append