From 8482d78a810a6193783cade44733e84e4b55dae7 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 23 Mar 2023 14:33:29 +0000 Subject: [PATCH] feat: adding text result --- .github/workflows/generate_examples.yml | 6 +++++- .github/workflows/update_cve_and_docs.yml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate_examples.yml b/.github/workflows/generate_examples.yml index cd87e7c..bd58b3f 100644 --- a/.github/workflows/generate_examples.yml +++ b/.github/workflows/generate_examples.yml @@ -49,10 +49,14 @@ jobs: cd - rm -rf test_db # Runs a single command using the runners shell - - name: Run verbose mode with dumpdir result + - name: Json Run verbose mode with dumpdir result run: | mkdir -p ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }} 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 + + - name: Standard Run verbose mode with dumpdir result + run: | + sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose | tee -a ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/result.txt - name: Adding examples to Git run: | diff --git a/.github/workflows/update_cve_and_docs.yml b/.github/workflows/update_cve_and_docs.yml index b0d141d..71b76fd 100644 --- a/.github/workflows/update_cve_and_docs.yml +++ b/.github/workflows/update_cve_and_docs.yml @@ -41,7 +41,7 @@ jobs: uses: devops-infra/action-commit-push@master with: github_token: "${{ secrets.GITHUB_TOKEN }}" - add_timestamp: true + add_timestamp: false commit_prefix: "[AUTO]" commit_message: "Updates CVE and docs (via Actions)" force: false