From 52665d2b752b77192a2f8ca8ee9413ca3c35a26a Mon Sep 17 00:00:00 2001 From: Silas Wrinker Date: Fri, 21 Jun 2024 13:04:19 -0400 Subject: [PATCH] Create cbuild.yml --- .github/workflows/cbuild.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/cbuild.yml diff --git a/.github/workflows/cbuild.yml b/.github/workflows/cbuild.yml new file mode 100644 index 0000000..0bea3bf --- /dev/null +++ b/.github/workflows/cbuild.yml @@ -0,0 +1,22 @@ +name: C Project Build + +on: + workflow_dispatch: + +jobs: + build_c: + name: build c project + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build Our Project + run: | + gcc crate/main.c -o crate/crate.out + + - name: Commit Project + uses: EndBug/add-and-commit@v9.1.4 + with: + author_name: Silas Wrinker + author_email: alcosojr79@gmail.com + message: Built project