Removing mysql volume and set better perm

This commit is contained in:
Griatch 2024-06-27 18:57:40 +02:00
parent d54886e9e4
commit 6b984a4faa

View file

@ -61,12 +61,16 @@ jobs:
--health-retries 5
ports:
- 3306:3306
volumes:
- ${{ github.workspace }}/.github/workflows/mysql_options.cnf:/etc/mysql/conf.d/custom.cnf
steps:
- 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 }})
# uses: ./.github/actions/setup-database
# with: