Fix uv installation in Gitea workflow
Some checks failed
Test and publish / publish (push) Failing after 5m2s
Some checks failed
Test and publish / publish (push) Failing after 5m2s
This commit is contained in:
@@ -14,10 +14,11 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install uv and Python
|
||||
uses: astral-sh/setup-uv@v9
|
||||
with:
|
||||
version: "0.12.13"
|
||||
python-version: "3.12"
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/0.12.13/install.sh |
|
||||
env UV_INSTALL_DIR="$HOME/.local/bin" UV_NO_MODIFY_PATH=1 sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
"$HOME/.local/bin/uv" python install 3.12
|
||||
|
||||
- name: Install workspace
|
||||
run: uv sync --all-packages
|
||||
|
||||
Reference in New Issue
Block a user