commit 5df66708bbefb760b7ee735d3583103d2b75fcff
parent 418635308033eeca047502efc5cc61b4e926ac2c
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Fri, 9 Jul 2021 23:59:26 +0200
test composite action
Diffstat:
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/.github/c/make-install/action.yml b/.github/c/make-install/action.yml
@@ -0,0 +1,9 @@
+runs:
+ using: composite
+ steps:
+ - name: make
+ run: make
+ - name: make install
+ run: make install
+ - name: check diary version
+ run: diary -v
diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml
@@ -1,4 +1,4 @@
-name: C/C++ CI
+name: C CI
on:
push:
@@ -12,12 +12,8 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v2
- - name: make
- run: make
- name: make install
- run: make install
- - name: check diary version
- run: diary -v
+ uses: c/make-install@v2
build:
runs-on: ${{ matrix.os }}
@@ -29,9 +25,5 @@ jobs:
run: sudo apt-get install libncurses5-dev libncursesw5-dev libcurl4-gnutls-dev
- name: Check out repository
uses: actions/checkout@v2
- - name: make
- run: make
- name: make install
- run: sudo make install
- - name: check diary version
- run: diary -v
+ uses: c/make-install@v2