feat: using matrix from mysql

This commit is contained in:
Jean-Marie Renouard 2023-03-23 13:06:53 +00:00
parent b33c70338c
commit ada29e773f

View file

@ -17,6 +17,9 @@ on:
jobs:
# This workflow contains a single job called "build"
build:
strategy:
matrix:
MYSQL_VERSION: [5.7, 8.0]
# The type of runner that the job will run on
runs-on: ubuntu-latest
@ -29,7 +32,7 @@ jobs:
uses: mirromutth/mysql-action@v1.1
with:
mysql root password: "root"
mysql version: "${{ inputs.MYSQL_VERSION }}"
mysql version: "${{ matrix.MYSQL_VERSION }}"
- name: Injecting credentials
run: |