Giter VIP home page Giter VIP logo

setup-mariadb's Introduction

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-14 default โœ“ โœ“ โœ“
macos-13 default โœ“ โœ“ โœ“
macos-12 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:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.