-
-
Notifications
You must be signed in to change notification settings - Fork 55
43 lines (36 loc) · 953 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: release
on:
push:
tags:
- '*'
jobs:
build:
name: build_release
runs-on: ubuntu-latest
strategy:
max-parallel: 8
matrix:
device:
- dumpling
- cheeseburger
- joan
- chiron
- sagit
- htc_ocmdtwl
- mata
- nx563j
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install requires packages
run: |
sudo apt-get update
sudo apt-get -y install build-essential uuid-dev iasl nasm gcc-aarch64-linux-gnu abootimg python3-distutils python3-pil python3-git gettext
- name: Build device ${{ matrix.device }}
run: |
./build.sh --device ${{ matrix.device }}
- name: Release
uses: softprops/action-gh-release@v1
with:
body: To be filled. 待填充
files: boot-${{ matrix.device }}.img