Skip to content

Commit 2c8fffe

Browse files
committed
ci: skip webform install on Drupal 11
1 parent daff5d2 commit 2c8fffe

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/drupal-module.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ jobs:
2525
include:
2626
- drupal: "^10"
2727
php: "8.2"
28+
install_webform: true
2829
webform: "^6"
2930
- drupal: "^11"
3031
php: "8.3"
31-
webform: "^6"
32+
install_webform: false
3233

3334
env:
3435
SIMPLETEST_BASE_URL: "http://127.0.0.1"
@@ -49,7 +50,13 @@ jobs:
4950
- name: Install dependency modules
5051
run: |
5152
cd drupal
52-
composer require drupal/jsonapi_frontend:^1 drupal/webform:${{ matrix.webform }} --no-interaction --prefer-dist -W
53+
composer require drupal/jsonapi_frontend:^1 --no-interaction --prefer-dist -W
54+
55+
- name: Install Webform (Drupal 10 only)
56+
if: ${{ matrix.install_webform }}
57+
run: |
58+
cd drupal
59+
composer require drupal/webform:${{ matrix.webform }} --no-interaction --prefer-dist -W
5360
5461
- name: Install module from this repo
5562
run: |

0 commit comments

Comments
 (0)