feat: adding text result

This commit is contained in:
Jean-Marie Renouard 2023-03-23 14:33:29 +00:00
parent 813eaed1ba
commit 8482d78a81
2 changed files with 6 additions and 2 deletions

View file

@ -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: |

View file

@ -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