Flow: Setup mariadb after restoring cache (#31274)

# Flow: Setup mariadb after restoring cache

To use the cache, it has to be restored first.  The original
order of actions did not enable the reuse of the mariadb
executable from cache
This commit is contained in:
MDW 2024-10-06 13:55:48 +02:00 committed by GitHub
parent 6b26467aa4
commit d8a980444a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,11 +36,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup MariaDB
uses: frederic34/setup-mariadb@v1
with:
# mariadb-version: ${{ matrix.mariadb-version }}
database: travis # Specify your database name
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
@ -79,6 +74,12 @@ jobs:
${{ env.KEY_ROOT }}-${{ env.HASH }}-
${{ env.KEY_ROOT }}-
- name: Setup MariaDB
uses: frederic34/setup-mariadb@v1
with:
# mariadb-version: ${{ matrix.mariadb-version }}
database: travis # Specify your database name
- name: Create local php.ini with open_basedir restrictions
shell: cmd
# Objective: separate step, and before database initialisation to verify open_basedir restrictions