Skip to content

Commit

Permalink
delete duplicate lines and extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
snehasreeramini committed Apr 24, 2024
1 parent 9cf42cc commit e3fa886
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/dispatch-event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,27 +67,19 @@ jobs:
exit 1
;;
esac
# shellcheck disable=SC2088 # Tilde expansion happens in the workflow and not by bash
case '${{ inputs.scenario}}' in
"7.0.x")
# shellcheck disable=SC2088 # Tilde expansion happens in the workflow and not by bash
TESTPLAN="~/defaults/7.0.x.yml,${LIMIT}~/composer-plugin.yaml"
;;
TESTPLAN="~/defaults/7.0.x.yml,${LIMIT}~/composer-plugin.yaml" ;;
"7.1.x")
# shellcheck disable=SC2088 # Tilde expansion happens in the workflow and not by bash
TESTPLAN="~/defaults/7.1.x.yml,${LIMIT}~/composer-plugin.yaml"
;;
TESTPLAN="~/defaults/7.1.x.yml,${LIMIT}~/composer-plugin.yaml" ;;
"8.0.x")
# shellcheck disable=SC2088 # Tilde expansion happens in the workflow and not by bash
TESTPLAN="${LIMIT}~/composer-plugin.yaml"
;;
TESTPLAN="${LIMIT}~/composer-plugin.yaml" ;;
"use custom testplan")
# shellcheck disable=SC2088 # Tilde expansion happens in the workflow and not by bash
TESTPLAN="${{ inputs.custom_testplan }}"
;;
TESTPLAN="${{ inputs.custom_testplan }}" ;;
*)
echo "Illegal choice, fix the workflow"
exit 1
;;
exit 1 ;;
esac
echo "testplan=${TESTPLAN}" | tee -a "${GITHUB_OUTPUT}"
Expand Down

0 comments on commit e3fa886

Please sign in to comment.