fix: Error durig exec

This commit is contained in:
Jean-Marie Renouard 2023-03-23 14:51:29 +00:00
parent 8482d78a81
commit 326f9fe1cc
2 changed files with 4 additions and 8 deletions

View file

@ -53,18 +53,17 @@ jobs:
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
- name: Standard Run verbose mode without 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: |
git add ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/*
git add ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/* || true
sleep $[ ( $RANDOM % 10 ) + 1 ]s
- name: Run the Action
- name: Run the Action Commit
uses: devops-infra/action-commit-push@master
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"

3
.gitignore vendored
View file

@ -9,9 +9,6 @@ Vagrant/data
Vagrant/.vagrant
contents
contents/*
result_*
result.html
result.txt
reports_*
golang/prog-*
.vscode