Skip to content

Commit dbccf35

Browse files
committed
Add GitHub Action
1 parent 1bfb6d1 commit dbccf35

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/commit.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build commit
2+
3+
on:
4+
- push
5+
- pull_request
6+
- workflow_dispatch
7+
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Install dependencies
18+
run: sudo apt-get install -y build-essential libmxml-dev
19+
20+
- name: Build
21+
run: make
22+
23+
- name: Upload artifact
24+
uses: actions/upload-artifact@v3
25+
with:
26+
name: benzin-linux-amd64-${{github.sha}}
27+
path: benzin
28+
if-no-files-found: error

0 commit comments

Comments
 (0)