-
Notifications
You must be signed in to change notification settings - Fork 4
64 lines (56 loc) · 1.6 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Go package
on:
push:
tags: ["v*.*.*"]
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.1'
channel: 'stable'
- name: Build seva-web
run: |
cd seva-web
make SOC=AM62X
make SOC=AM62PX
make SOC=AM68
make SOC=AM69
- name: Build seva-launcher
run: |
cd seva-launcher
make ARCH=aarch64 SOC=AM62X
cp seva-launcher seva-launcher-am62-aarch64
make clean
make ARCH=aarch64 SOC=AM62PX
cp seva-launcher seva-launcher-am62p-aarch64
make clean
make ARCH=aarch64 SOC=AM68
cp seva-launcher seva-launcher-am68-aarch64
make clean
make ARCH=aarch64 SOC=AM69
cp seva-launcher seva-launcher-am69-aarch64
make clean
make ARCH=x86_64 SOC=AM62X
cp seva-launcher seva-launcher-am62-x86_64
make clean
- name: Create seva-web zip
uses: thedoctor0/zip-release@main
with:
type: 'zip'
filename: 'seva-web.zip'
directory: 'seva-web/build'
- name: Upload release
uses: ncipollo/release-action@v1
with:
artifacts: "seva-web/build/seva-web.zip,seva-launcher/seva-launcher-*"
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true