diff --git a/.github/workflows/generate_examples.yml b/.github/workflows/generate_examples.yml index e13d054..b3e1d67 100644 --- a/.github/workflows/generate_examples.yml +++ b/.github/workflows/generate_examples.yml @@ -9,8 +9,11 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" - build: + mysql_examples: + # This workflow contains a single job called "build" + strategy: + matrix: + MYSQL_VERSION: [5.7, 8.0] # The type of runner that the job will run on runs-on: ubuntu-latest @@ -23,7 +26,7 @@ jobs: uses: mirromutth/mysql-action@v1.1 with: mysql root password: "root" - mysql version: "8.0" + mysql version: "${{ matrix.MYSQL_VERSION }}" - name: Injecting credentials run: | @@ -47,7 +50,7 @@ jobs: - name: Run verbose mode with dumpdir result run: | mkdir -p ./examples/github/result - sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose --dumpdir=./examples/github/result --json | tee -a ./examples/github/result/result.json + sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose --dumpdir=./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }} --json | tee -a ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/result.json # Runs a single command using the runners shell - name: Run the Action @@ -58,4 +61,4 @@ jobs: commit_prefix: "[AUTO]" commit_message: "Updates result examples (via Actions)" force: false - target_branch: update/version \ No newline at end of file + target_branch: master \ No newline at end of file diff --git a/.github/workflows/run_mt_with_db.yml b/.github/workflows/run_mt_with_db.yml index 9d73b82..fe20bd8 100644 --- a/.github/workflows/run_mt_with_db.yml +++ b/.github/workflows/run_mt_with_db.yml @@ -10,7 +10,10 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" - build: + run_mt_with_db: + strategy: + matrix: + MYSQL_VERSION: [5.7, 8.0] # The type of runner that the job will run on runs-on: ubuntu-latest @@ -23,7 +26,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: | diff --git a/.github/workflows/update_cve_and_docs.yml b/.github/workflows/update_cve_and_docs.yml index 3a46543..b0d141d 100644 --- a/.github/workflows/update_cve_and_docs.yml +++ b/.github/workflows/update_cve_and_docs.yml @@ -45,4 +45,4 @@ jobs: commit_prefix: "[AUTO]" commit_message: "Updates CVE and docs (via Actions)" force: false - target_branch: update/version \ No newline at end of file + target_branch: master \ No newline at end of file diff --git a/test_db b/test_db deleted file mode 160000 index d01cb62..0000000 --- a/test_db +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d01cb62fcfa4671773f167480df174d8ce4316c1