Skip to content

ankane/setup-mariadb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-mariadb

The missing action for MariaDB 🎉

  • Simpler than containers
  • Works on Linux, Mac, and Windows
  • Supports different versions

Build Status

Getting Started

Add it as a step to your workflow

      - uses: ankane/setup-mariadb@v1

Versions

Specify a version

      - uses: ankane/setup-mariadb@v1
        with:
          mariadb-version: "11.4"

Currently supports

Version 11.4 10.11 10.6 10.5
ubuntu-24.04 default
ubuntu-22.04 default
ubuntu-20.04 default
macos-15 default
macos-14 default
macos-13 default
windows-2022 default
windows-2019 default

Test against multiple versions

    strategy:
      matrix:
        mariadb-version: ["11.4", "10.11", "10.6"]
    steps:
      - uses: ankane/setup-mariadb@v1
        with:
          mariadb-version: ${{ matrix.mariadb-version }}

Options

Create a database

      - uses: ankane/setup-mariadb@v1
        with:
          database: testdb

Extra Steps

Run queries

      - run: mysql -D testdb -e 'SELECT VERSION()'

Related Actions

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

About

The missing action for MariaDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •