From 4f19ae5287dc30fb421ec4b5eeb49e6ed26d92aa Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Mar 2026 23:00:10 -0700 Subject: [PATCH] Install uv via curl instead of GitHub-only setup-uv action astral-sh/setup-uv is not available on Gitea's action registry. Use the official install script instead, skipping if uv is already present. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 90527e5..5476b67 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -33,7 +33,14 @@ jobs: - uses: actions/checkout@v4 - name: Install uv - uses: astral-sh/setup-uv@v4 + shell: bash + run: | + if command -v uv &> /dev/null; then + echo "uv already installed: $(uv --version)" + else + curl -LsSf https://astral.sh/uv/install.sh | sh + echo "$HOME/.local/bin" >> $GITHUB_PATH + fi - name: Set up Python run: uv python install ${{ env.PYTHON_VERSION }}