diff --git a/.github/workflows/db.yml b/.github/workflows/db.yml index 3eb4606200..bf0565b8e6 100644 --- a/.github/workflows/db.yml +++ b/.github/workflows/db.yml @@ -119,10 +119,17 @@ jobs: rm -f *.deb dottie -v + - name: Add mariadb repository + if: ${{ matrix.db_type == 'mariadb' }} + run: | + apt update + apt install -y --no-install-recommends curl ca-certificates apt-transport-https + curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash -s -- --mariadb-server-version mariadb-10.11 + - name: Install database client run: | - apt-get update - apt-get install -y --no-install-recommends ${{ matrix.db_type == 'postgres' && 'postgresql' || (matrix.db_type == 'mysql' && 'default-mysql' || 'mariadb') }}-client + apt update + apt install -y --no-install-recommends ${{ matrix.db_type == 'postgres' && 'postgresql' || (matrix.db_type == 'mysql' && 'default-mysql' || 'mariadb') }}-client - name: Install PHP extensions run: |