diff --git a/checkout_repositories/action.yml b/checkout_repositories/action.yml index 7123738..f011736 100644 --- a/checkout_repositories/action.yml +++ b/checkout_repositories/action.yml @@ -34,8 +34,10 @@ runs: shell: bash run: | echo " --- Current Directory: $(pwd) --- " - chmod +x ./checkout_repositories/run_ci.sh - ./checkout_repositories/run_ci.sh "${{ inputs.PLUGIN_REPO_NAME }}" \ + SCRIPT_PATH="${{ github.action_path }}/run_ci.sh" + echo " --- Script Path: $SCRIPT_PATH --- " + chmod +x "$SCRIPT_PATH" + "$SCRIPT_PATH" "${{ inputs.PLUGIN_REPO_NAME }}" \ "${{ inputs.BEC_PLUGIN_REPO_BRANCH }}" \ "${{ inputs.BEC_CORE_BRANCH }}" \ "${{ inputs.BEC_WIDGETS_BRANCH }}" \ diff --git a/install_apt_packages/action.yml b/install_apt_packages/action.yml index 6420c20..0255e47 100644 --- a/install_apt_packages/action.yml +++ b/install_apt_packages/action.yml @@ -9,13 +9,9 @@ inputs: runs: using: "composite" steps: - - uses: actions/checkout@v4 - with: - repository: bec/bec_shared_actions - ref: main - path: bec_shared_actions - name: Install APT Packages shell: bash run: | - chmod +x ./install_apt_packages/run_ci.sh - ./install_apt_packages/run_ci.sh "${{ inputs.APT_PACKAGES }}" \ \ No newline at end of file + SCRIPT_PATH="${{ github.action_path }}/run_ci.sh" + chmod +x "$SCRIPT_PATH" + "$SCRIPT_PATH" "${{ inputs.APT_PACKAGES }}" \ \ No newline at end of file diff --git a/install_python_env/action.yml b/install_python_env/action.yml index f91dff7..5144fe9 100644 --- a/install_python_env/action.yml +++ b/install_python_env/action.yml @@ -13,11 +13,6 @@ inputs: 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: @@ -25,5 +20,6 @@ runs: - 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 }}" + SCRIPT_PATH="${{ github.action_path }}/run_ci.sh" + chmod +x "$SCRIPT_PATH" + "$SCRIPT_PATH" "${{ inputs.PLUGIN_REPO_NAME }}" diff --git a/run_pytest_for_plugin/action.yml b/run_pytest_for_plugin/action.yml index 78c20c1..f20883f 100644 --- a/run_pytest_for_plugin/action.yml +++ b/run_pytest_for_plugin/action.yml @@ -9,13 +9,9 @@ inputs: runs: using: "composite" steps: - - uses: actions/checkout@v4 - with: - repository: bec/bec_shared_actions - ref: main - path: bec_shared_actions - name: Run Pytest for Plugin shell: bash run: | - chmod +x ./run_pytest_for_plugin/run_ci.sh - ./run_pytest_for_plugin/run_ci.sh "${{ inputs.PLUGIN_REPO_NAME }}" \ No newline at end of file + SCRIPT_PATH="${{ github.action_path }}/run_ci.sh" + chmod +x "$SCRIPT_PATH" + "$SCRIPT_PATH" "${{ inputs.PLUGIN_REPO_NAME }}" \ No newline at end of file