refactor: separate actions in substructure, run as bash script
This commit is contained in:
24
install_python_env/action.yml
Normal file
24
install_python_env/action.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
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:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ inputs.PYTHON_VERSION }}
|
||||
- name: Install Python Environment
|
||||
shell: bash
|
||||
run: |
|
||||
chmod +x run_ci.sh
|
||||
./run_ci.sh "${{ inputs.PLUGIN_REPO_NAME }}"
|
||||
Reference in New Issue
Block a user