File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
.github/actions/setup-anki Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -61,16 +61,20 @@ runs:
6161 cache : false # ci.yml manages its own cargo cache
6262 rustflags : " " # don't inject -D warnings; the build system handles this
6363
64- # Install uv via setup-uv and point the build system at it via UV_BINARY
65- # so it skips downloading its own copy (see build/ninja_gen/src/python.rs).
6664 - name : Install uv
6765 id : setup-uv
6866 uses : astral-sh/setup-uv@v7
6967 with :
7068 enable-cache : true
7169 prune-cache : ${{ runner.os != 'Windows' }} # Windows file-locking breaks cache pruning
7270
73- - name : Set UV_BINARY
71+ # UV_BINARY tells the build system to use our uv instead of downloading
72+ # its own (see build/ninja_gen/src/python.rs). Linux-only because on
73+ # macOS ARM the launcher needs the downloaded archive to build a universal
74+ # binary via lipo (see build/configure/src/launcher.rs), and on Windows
75+ # the build system manages its own download.
76+ - name : Set UV_BINARY (Linux)
77+ if : runner.os == 'Linux'
7478 shell : bash
7579 run : echo "UV_BINARY=${{ steps.setup-uv.outputs.uv-path }}" >> "$GITHUB_ENV"
7680
You can’t perform that action at this time.
0 commit comments