Skip to content

Commit dcc844b

Browse files
authored
Update c-cpp.yml
1 parent 69b4b8a commit dcc844b

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

.github/workflows/c-cpp.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,21 @@ name: Build ArKr
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches:
6+
- main
7+
paths:
8+
- '**/*.cpp'
9+
- '**/*.hpp'
10+
- '**/*.c'
11+
- '**/*.h'
612
pull_request:
7-
branches: [ "main" ]
13+
branches:
14+
- main
15+
paths:
16+
- '**/*.cpp'
17+
- '**/*.hpp'
18+
- '**/*.c'
19+
- '**/*.h'
820

921
jobs:
1022
build:
@@ -13,5 +25,10 @@ jobs:
1325

1426
steps:
1527
- uses: actions/checkout@v4
16-
- name: make
28+
- name: Compile ArKr
1729
run: g++ ./arkr.cpp -o arkr
30+
- name: Upload ArKr binary
31+
uses: actions/upload-artifact@v3
32+
with:
33+
name: arkr-binary
34+
path: ./arkr

0 commit comments

Comments
 (0)