Skip to content

Commit 58b84da

Browse files
committed
Add GitHub Actions workflow
1 parent c72162a commit 58b84da

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
name: Build OpenWRT package
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Build package
14+
run: |
15+
chmod 0777 build/bin/
16+
./makepkg.sh
17+
- name: Upload package
18+
uses: actions/upload-artifact@v4
19+
with:
20+
name: package
21+
path: build/bin/packages/**/*.ipk

0 commit comments

Comments
 (0)