From 7b3d63de31bee3227dbb5ba0453c58a3c51d91fd Mon Sep 17 00:00:00 2001 From: BSFishy Date: Thu, 5 Mar 2020 20:57:12 +0000 Subject: [PATCH] Add some stuff to the readme --- README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 169b966..0d901c7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,30 @@ -# meson-build +# Meson Build action +[![Test](https://github.com/BSFishy/meson-build/workflows/Test/badge.svg)](https://github.com/BSFishy/meson-build/actions) + Run a Meson task during your Actions workflow + +## Usage +See [action.yml](action.yml) + +Basic: +```yaml +steps: +- uses: actions/checkout@v2 +- uses: actions/setup-python@v1 +- uses: BSFishy/meson-build@v1 + with: + action: test +``` + +All options: +```yaml +- uses: BSFishy/meson-build@v1 + with: + action: test + directory: build + setup-options: -Db_coverage=true + options: --verbose + meson-version: 0.53.2 + ninja-version: 1.9.0.post1 + gcovr-version: 4.2 +```