Files
bec_shared_actions/install_python_env/action.yml
2025-09-24 11:37:29 -05:00

30 lines
842 B
YAML

name: Install Python Environment
description: Set up a Python virtual environment and install required packages
inputs:
PLUGIN_REPO_NAME:
description: "Name of the plugin repository to install dependencies for"
required: true
default: ""
PYTHON_VERSION:
description: "Python version to use"
required: false
default: "3.11"
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
with:
repository: bec/bec_shared_actions
ref: main
path: bec_shared_actions
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ inputs.PYTHON_VERSION }}
- name: Install Python Environment
shell: bash
run: |
chmod +x ./install_python_env/run_ci.sh
./install_python_env/run_ci.sh "${{ inputs.PLUGIN_REPO_NAME }}"