Skip to content

Commit

Permalink
Update github-actions to 4.12.2 (#149)
Browse files Browse the repository at this point in the history
* Fix load_testplan
  • Loading branch information
release-github-action[bot] authored May 23, 2024
1 parent 5612503 commit 5d8cd42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions load_cached_testplan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ runs:
shell: bash
run: |
# load_cached_testplan: Get testplan name
DEFAULT_TESTPLAN=$(echo '${{ inputs.plan_folder}}/defaults/defaults.yml,${{ inputs.root_testplan }}'|sed -e 's|~|${{ inputs.plan_folder }}|g')
DEFAULT_TESTPLAN=$(echo '${{ inputs.root_testplan }}'|sed -e 's|,${{ inputs.plan_folder }}/defaults/_rename.yaml||')
MATRIX_TESTPLAN=$(echo "${{ inputs.matrix_testplan }}"|sed -e 's|~|${{ inputs.plan_folder }}|g')
# ToDo: Remove the ,${{ inputs.plan_folder }}/defaults/_rename.yaml when releasing v5
if [[ '${{ inputs.matrix_testplan}}' == '-' || -z '${{ inputs.matrix_testplan}}' ]]; then
echo "testplan=${DEFAULT_TESTPLAN},${{ inputs.plan_folder }}/defaults/_rename.yaml" | tee -a "${GITHUB_OUTPUT}"
echo "testplan=${{ inputs.root_testplan }}" | tee -a "${GITHUB_OUTPUT}"
else
echo "testplan=${DEFAULT_TESTPLAN},${MATRIX_TESTPLAN},${{ inputs.plan_folder }}/defaults/_rename.yaml" | tee -a "${GITHUB_OUTPUT}"
fi
Expand Down

0 comments on commit 5d8cd42

Please sign in to comment.