File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 4646 uses : actions/setup-python@v5
4747 with :
4848 python-version : ${{ inputs.python-version }}
49- cache : ' pip'
50- cache-dependency-path : |
51- **/requirements*.txt
52- **/pyproject.toml
53- **/poetry.lock
54- **/Pipfile.lock
5549
5650 - name : Install uv
5751 uses : astral-sh/setup-uv@v5
@@ -62,14 +56,14 @@ jobs:
6256 id : get-uv-cache
6357 run : echo "UV_CACHE_DIR=$(uv cache dir)" >> $GITHUB_OUTPUT
6458
59+ - name : Install dependencies
60+ if : ${{ inputs.install-deps != 'none' }}
61+ run : uv sync --extra ${{ inputs.install-deps }}
62+
6563 - name : Cache uv packages
6664 uses : actions/cache@v4
6765 with :
6866 path : ${{ steps.get-uv-cache.outputs.UV_CACHE_DIR }}
6967 key : ${{ runner.os }}-uv-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
7068 restore-keys : |
7169 ${{ runner.os }}-uv-
72-
73- - name : Install dependencies
74- if : ${{ inputs.install-deps != 'none' }}
75- run : uv sync --extra ${{ inputs.install-deps }}
You can’t perform that action at this time.
0 commit comments