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

43 lines
1.3 KiB
YAML

name: "BEC Plugin Repository Checkout"
description: "Install and test a BEC plugin repository"
inputs:
PLUGIN_REPO_NAME:
description: "URL of the BEC Plugin Repository to install"
required: true
default: ""
BEC_PLUGIN_REPO_BRANCH:
description: "Branch of the BEC Plugin Repository to install"
required: false
default: "main"
BEC_CORE_BRANCH:
description: "Branch of BEC Core to install"
required: false
default: "main"
BEC_WIDGETS_BRANCH:
description: "Branch of BEC Widgets to install"
required: false
default: "main"
OPHYD_DEVICES_BRANCH:
description: "Branch of Ophyd Devices to install"
required: false
default: "main"
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
with:
repository: bec/bec_shared_actions
ref: main
path: bec_shared_actions
- name: Checkout BEC Plugin Repository
shell: bash
run: |
echo " --- Current Directory: $(pwd) --- "
chmod +x ./checkout_repositories/run_ci.sh
./checkout_repositories/run_ci.sh "${{ inputs.PLUGIN_REPO_NAME }}" \
"${{ inputs.BEC_PLUGIN_REPO_BRANCH }}" \
"${{ inputs.BEC_CORE_BRANCH }}" \
"${{ inputs.BEC_WIDGETS_BRANCH }}" \
"${{ inputs.OPHYD_DEVICES_BRANCH }}"