Skip to content

Commit c8a1c34

Browse files
committed
Add release workflow
1 parent 0ebbab5 commit c8a1c34

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

.github/workflows/release.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
name: build_release
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
max-parallel: 8
15+
matrix:
16+
device:
17+
- akershus
18+
- beryllium
19+
- dipper
20+
- draco
21+
- enchilada
22+
- enchilada-8g
23+
- equuleus
24+
- fajita
25+
- fajita-8g
26+
- fajita-10g
27+
- judyln
28+
- m1882
29+
- m1892
30+
- nx616j
31+
- olympic
32+
- pafm00
33+
- pd1821
34+
- perseus
35+
- polaris
36+
- polaris-8g
37+
- skr-a0
38+
- star2qltechn
39+
- trident
40+
41+
steps:
42+
- name: Checkout repository
43+
uses: actions/checkout@v2
44+
45+
- name: Install requires packages
46+
run: |
47+
sudo apt-get update
48+
sudo apt-get -y install build-essential uuid-dev iasl nasm gcc-aarch64-linux-gnu abootimg python3-distutils python3-pil python3-git gettext
49+
50+
- name: Build device ${{ matrix.device }}
51+
run: |
52+
./build.sh --device ${{ matrix.device }}
53+
54+
- name: Release
55+
uses: softprops/action-gh-release@v1
56+
with:
57+
files: boot-${{ matrix.device }}.img

0 commit comments

Comments
 (0)