feat: using matrix from mysql
This commit is contained in:
parent
b33c70338c
commit
ada29e773f
1 changed files with 4 additions and 1 deletions
5
.github/workflows/pull_request.yml
vendored
5
.github/workflows/pull_request.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue