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:
|
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: |
|
||||||
|
|
Loading…
Reference in a new issue