From 6b984a4faa723faa6dab48b1ae67f15f45d2980e Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 27 Jun 2024 18:57:40 +0200 Subject: [PATCH] Removing mysql volume and set better perm --- .github/workflows/github_action_test_suite.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index 09730d56c5..27cfa9be9f 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -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: