Files
edgetx-gx12/.github/actions/python_dependencies/action.yml
T

24 lines
537 B
YAML

name: 'Python Dependencies'
inputs:
python-version:
description: 'Python version'
default: '3.13'
runs:
using: "composite"
steps:
- name: Install uv
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: ${{ inputs.python-version }}
enable-cache: true
cache-dependency-glob: pyproject.toml
- name: Install Python dependencies
shell: bash
run: |
uv sync
echo "VIRTUAL_ENV=$PWD/.venv" >> "$GITHUB_ENV"
echo "$PWD/.venv/bin" >> "$GITHUB_PATH"