You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test -z "${MODULE_NAME}"&& MODULE_NAME=$INPUT_MODULE_NAME
6
+
test -z "${MODULE_SOURCE}"&& MODULE_SOURCE=$INPUT_MODULE_SOURCE
7
+
test -z "${COMPOSER_NAME}"&& COMPOSER_NAME=$INPUT_COMPOSER_NAME
8
+
test -z "${MAGENTO_VERSION}"&& MAGENTO_VERSION=$INPUT_MAGENTO_VERSION
9
+
test -z "${PROJECT_NAME}"&& PROJECT_NAME=$INPUT_PROJECT_NAME
10
+
test -z "${PHPUNIT_FILE}"&& PHPUNIT_FILE=$INPUT_PHPUNIT_FILE
11
+
12
+
test -z "$MAGENTO_VERSION"&& MAGENTO_VERSION="2.4.4"
13
+
test -z "$COMPOSER_VERSION"&& [[ "$MAGENTO_VERSION"=~ ^2.4.* ]] && COMPOSER_VERSION=2
14
+
test -z "$COMPOSER_VERSION"&& COMPOSER_VERSION=1
15
+
test -z "$PROJECT_NAME"&& PROJECT_NAME="magento/project-community-edition"
16
+
17
+
test -z "${MODULE_NAME}"&& (echo "'module_name' is not set"&&exit 1)
18
+
test -z "${COMPOSER_NAME}"&& (echo "'composer_name' is not set"&&exit 1)
19
+
test -z "${MAGENTO_VERSION}"&& (echo "'magento_version' is not set"&&exit 1)
20
+
21
+
MAGENTO_ROOT=/tmp/m2
22
+
PROJECT_PATH=$GITHUB_WORKSPACE
23
+
test -z "${REPOSITORY_URL}"&& REPOSITORY_URL="https://repo-magento-mirror.fooman.co.nz/"
24
+
25
+
echo"Setup Magento credentials"
26
+
test -z "${MAGENTO_MARKETPLACE_USERNAME}"|| composer global config http-basic.repo.magento.com $MAGENTO_MARKETPLACE_USERNAME$MAGENTO_MARKETPLACE_PASSWORD
0 commit comments