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