From 0c6cf8c8c3e4e2f59314edb33fc5bffd8630c6ee Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 14 Jul 2022 13:12:13 +1200 Subject: [PATCH] FIX Do not require self --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da54915..10c7392 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -317,13 +317,13 @@ jobs: # 1.6.10 is for --prefer-lowest and is the minimum version with php 8.1 support composer require mikey179/vfsstream:^1.6.10 --dev --no-update - if [[ "${{ matrix.db }}" == "pgsql" ]] && ! [[ $GITHUB_REPOSITORY =~ /silverstripe-postgresql ]]; then + if [[ "${{ matrix.db }}" == "pgsql" ]] && ! [[ $GITHUB_REPOSITORY =~ /silverstripe-postgresql$ ]]; then composer require silverstripe/postgresql:^2 --no-update fi - if [[ "${{ matrix.endtoend }}" == "true" ]]; then + if [[ "${{ matrix.endtoend }}" == "true" ]] && ! [[ $GITHUB_REPOSITORY =~ /recipe-testing$ ]]; then composer require silverstripe/recipe-testing:^2 --dev --no-update fi - if [[ "${{ matrix.phplinting }}" == "true" ]]; then + if [[ "${{ matrix.phplinting }}" == "true" ]] && ! [[ $GITHUB_REPOSITORY =~ /cow$ ]]; then # cow ~2.0 support guzzle 6 so is installable on older branches, dev-master supports guzzle 7 composer require "silverstripe/cow:~2.0 || dev-master" --dev --no-update fi