Skip to content

Commit

Permalink
OXDEV-7248 Update GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hkreuter committed Jan 21, 2025
1 parent 4c0af38 commit ea75120
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/oxid-esales/graphql-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,16 @@ install:
options: '-e ESHOP_BOOTSTRAP_PATH=vendor/oxid-esales/oxideshop-ce/source/bootstrap.php -e THEME_ID=apex'
composer:
root_url: ''
transform: ''
transform: |
{
"autoload-dev":{
"psr-4": {
"OxidEsales\\EshopCommunity\\Tests\\": "./vendor/oxid-esales/oxideshop-ce/tests"
}
}
}
custom_script_container: |
perl -pi -e 'print "SetEnvIf Authorization \"(.*)\" HTTP_AUTHORIZATION=\$1\n\n" if $. == 1' source/.htaccess
perl -pi -e '
BEGIN {
$inserted = 0;
$autoload_dev = qq( "autoload-dev": {\n "psr-4": {\n "OxidEsales\\\\EshopCommunity\\\\Tests\\\\": "./vendor/oxid-esales/oxideshop-ce/tests"\n }\n },\n);
}
if (!$inserted && $_ =~ /"repositories":/) {
$_ = $autoload_dev . $_;
$inserted = 1;
} ' composer.json
composer dump-autoload
vendor/bin/oe-console oe:module:install /var/www
vendor/bin/oe-console oe:theme:activate apex
vendor/bin/oe-console oe:module:activate oe_graphql_base
Expand Down

0 comments on commit ea75120

Please sign in to comment.