51 lines
1.8 KiB
YAML
51 lines
1.8 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) --- "
|
|
SCRIPT_PATH="${{ github.action_path }}/run_ci.sh"
|
|
echo " --- Script Path: $SCRIPT_PATH --- "
|
|
echo " --- Using inputs --- "
|
|
echo "PLUGIN_REPO_NAME: ${{ inputs.PLUGIN_REPO_NAME }}"
|
|
echo "BEC_PLUGIN_REPO_BRANCH: ${{ inputs.BEC_PLUGIN_REPO_BRANCH }}"
|
|
echo "BEC_CORE_BRANCH: ${{ inputs.BEC_CORE_BRANCH }}"
|
|
echo "BEC_WIDGETS_BRANCH: ${{ inputs.BEC_WIDGETS_BRANCH }}"
|
|
echo "OPHYD_DEVICES_BRANCH: ${{ inputs.OPHYD_DEVICES_BRANCH }}"
|
|
chmod +x "$SCRIPT_PATH"
|
|
"$SCRIPT_PATH" "${{ inputs.PLUGIN_REPO_NAME }}" \
|
|
"${{ inputs.BEC_PLUGIN_REPO_BRANCH }}" \
|
|
"${{ inputs.BEC_CORE_BRANCH }}" \
|
|
"${{ inputs.BEC_WIDGETS_BRANCH }}" \
|
|
"${{ inputs.OPHYD_DEVICES_BRANCH }}"
|