diff --git a/.github/workflows/localgov_microsites.yml b/.github/workflows/localgov_microsites.yml index 84d48a5..6d9533a 100644 --- a/.github/workflows/localgov_microsites.yml +++ b/.github/workflows/localgov_microsites.yml @@ -24,7 +24,7 @@ jobs: localgov-version: - '4.x' drupal-version: - - '~10.0' + - '~10.3' php-version: - '8.1' - '8.2' @@ -57,7 +57,7 @@ jobs: - name: Get the latest tagged release for branch version run: | LATEST_RELEASE=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${GITHUB_REPOSITORY}/git/matching-refs/tags/${GIT_BASE%'.x'} | grep -Po '(?<=refs/tags/)[^"]+' | tail -1) - if [ -z $LATEST_RELEASE ]; then LATEST_RELEASE=2.x-dev; fi + if [ -z $LATEST_RELEASE ]; then LATEST_RELEASE=4.x-dev; fi echo "LATEST_RELEASE=${LATEST_RELEASE}" >> $GITHUB_ENV - name: Cached workspace @@ -81,6 +81,7 @@ jobs: run: | composer create-project --stability dev --no-install localgovdrupal/localgov_microsites_project ./html "${{ matrix.localgov-version }}" composer --working-dir=./html require --no-install localgovdrupal/localgov_microsites:${{ matrix.localgov-version }}-dev + sed -i 's/\@stable//' ./html/composer.json composer --working-dir=./html require --no-install drupal/core-recommended:${{ matrix.drupal-version }} drupal/core-composer-scaffold:${{ matrix.drupal-version }} drupal/core-project-message:${{ matrix.drupal-version }} drupal/core-dev:${{ matrix.drupal-version }} composer --working-dir=./html install @@ -108,7 +109,7 @@ jobs: localgov-version: - '4.x' drupal-version: - - '~10.0' + - '~10.3' php-version: - '8.1' - '8.2' @@ -144,7 +145,7 @@ jobs: localgov-version: - '4.x' drupal-version: - - '~10.0' + - '~10.3' php-version: - '8.1' - '8.2' @@ -179,7 +180,7 @@ jobs: localgov-version: - '4.x' drupal-version: - - '~10.0' + - '~10.3' php-version: - '8.1' - '8.2'