fix: Error durig exec
This commit is contained in:
parent
8482d78a81
commit
326f9fe1cc
2 changed files with 4 additions and 8 deletions
9
.github/workflows/generate_examples.yml
vendored
9
.github/workflows/generate_examples.yml
vendored
|
@ -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
3
.gitignore
vendored
|
@ -9,9 +9,6 @@ Vagrant/data
|
|||
Vagrant/.vagrant
|
||||
contents
|
||||
contents/*
|
||||
result_*
|
||||
result.html
|
||||
result.txt
|
||||
reports_*
|
||||
golang/prog-*
|
||||
.vscode
|
||||
|
|
Loading…
Reference in a new issue