Removing mysql volume and set better perm
This commit is contained in:
parent
d54886e9e4
commit
6b984a4faa
1 changed files with 6 additions and 2 deletions
|
|
@ -61,12 +61,16 @@ jobs:
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
volumes:
|
|
||||||
- ${{ github.workspace }}/.github/workflows/mysql_options.cnf:/etc/mysql/conf.d/custom.cnf
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Copy custom MySQL option file
|
||||||
|
if: ${{ matrix.TESTING_DB == 'mysql' }}
|
||||||
|
run: |
|
||||||
|
sudo cp ${{ github.workspace }}/.github/workflows/mysql_options.cnf /etc/mysql/custom.cnf
|
||||||
|
sudo chown -R mysql:mysql /etc/mysql/custom.cnf
|
||||||
|
|
||||||
# - name: Set up database (${{ matrix.TESTING_DB }})
|
# - name: Set up database (${{ matrix.TESTING_DB }})
|
||||||
# uses: ./.github/actions/setup-database
|
# uses: ./.github/actions/setup-database
|
||||||
# with:
|
# with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue