Skip to content

Commit

Permalink
Update mariadb-client
Browse files Browse the repository at this point in the history
  • Loading branch information
Murazaki committed Feb 11, 2025
1 parent 1fbab29 commit f64e780
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit f64e780

Please sign in to comment.