Skip to content

Commit 9d2f725

Browse files
authored
chore: get version constraint from composer.json (#150)
1 parent c4e0d53 commit 9d2f725

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v2
1919

20+
- name: Get Shopware Version
21+
id: shopware-constraint
22+
run: echo "shopware_constraint=$(cat composer.json | jq -r '.require."shopware/core"')" >> $GITHUB_OUTPUT
23+
2024
- name: Get Shopware Matrix
2125
uses: tinect/github-shopware-matrix-generator@main
2226
id: matrix
2327
with:
24-
versionConstraint: '~6.6.0'
28+
versionConstraint: ${{ steps.shopware-constraint.outputs.shopware_constraint }}
2529
allowEol: false
2630
justMinMaxShopware: false
2731
allowShopwareNext: true

0 commit comments

Comments
 (0)