Skip to content

Commit

Permalink
ci: Add mariadb_config to $PATH on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Dec 6, 2024
1 parent 3ed52ee commit 0510f07
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/custom/before-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ runs:
fi
shell: bash

- name: Install and check MariaDB client (macOS)
- name: Install MariaDB client (macOS)
if: runner.os == 'macOS' && ((matrix.config.mysql_client == '' ) || ! matrix.config.mysql_client)
run: |
brew install mariadb-connector-c
echo PATH="/opt/homebrew/opt/mariadb-connector-c/bin:${PATH}" | tee -a $GITHUB_ENV
shell: bash

- name: Check MariaDB client (macOS)
if: runner.os == 'macOS' && ((matrix.config.mysql_client == '' ) || ! matrix.config.mysql_client)
run: |
brew install mariadb-connector-c
Expand Down

0 comments on commit 0510f07

Please sign in to comment.