Skip to content

Commit

Permalink
TASK: Set package branch name as composer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz authored Dec 11, 2024
1 parent 62d02f0 commit 1127139
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set package branch name
run: echo "PACKAGE_TARGET_VERSION=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -49,7 +52,8 @@ jobs:
cd ${FLOW_PATH_ROOT}
composer config --no-plugins allow-plugins.neos/composer-plugin true
composer config repositories.package '{ "type": "path", "url": "../neos-seo", "options": { "symlink": false } }'
composer require --no-update --no-interaction neos/seo:@dev
composer require --no-update --no-interaction neos/seo:"dev-build as dev-${PACKAGE_TARGET_VERSION}"
composer require --dev --no-update --no-interaction phpstan/phpstan:^1.10
- name: Install dependencies
Expand Down

0 comments on commit 1127139

Please sign in to comment.