add action.yml that will configure and build CMake project

This commit is contained in:
Alfi Maulana
2023-01-06 13:59:57 +07:00
parent ae2f4c9cde
commit 074c9cd5fc

16
action.yml Normal file
View File

@@ -0,0 +1,16 @@
name: CMake Action
description: Configure and build CMake project
author: Alfi Maulana
branding:
color: gray-dark
icon: terminal
runs:
using: composite
steps:
- name: Configure CMake
shell: bash
run: cmake . -B build
- name: Build targets
shell: bash
run: cmake --build build