-
-
Notifications
You must be signed in to change notification settings - Fork 4
79 lines (79 loc) · 3.74 KB
/
build.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: "FAP: Build and lint"
on: [push, pull_request]
jobs:
ufbt-build-action:
runs-on: ubuntu-latest
name: 'ufbt: Build'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build with ufbt GB Cartridge
uses: flipperdevices/[email protected]
id: build-app-gb-cartridge
with:
# Set to 'release' to build for latest published release version
sdk-channel: release
app-dir: ./flipper_companion_apps/applications/external/malveke_gb_cartridge/
- name: Build with ufbt GB Link Camera
uses: flipperdevices/[email protected]
id: build-app-link-camera
with:
# Set to 'release' to build for latest published release version
sdk-channel: release
app-dir: ./flipper_companion_apps/applications/external/malveke_gb_link_camera/
- name: Build with ufbt GB Live Camera
uses: flipperdevices/[email protected]
id: build-app-live-camera
with:
# Set to 'release' to build for latest published release version
sdk-channel: release
app-dir: ./flipper_companion_apps/applications/external/malveke_gb_live_camera/
- name: Build with ufbt GBA Cartridge
uses: flipperdevices/[email protected]
id: build-app-gba-cartridge
with:
# Set to 'release' to build for latest published release version
sdk-channel: release
app-dir: ./flipper_companion_apps/applications/external/malveke_gba_cartridge/
- name: Build with ufbt GAME BOY Photo
uses: flipperdevices/[email protected]
id: build-app-gb-photo
with:
# Set to 'release' to build for latest published release version
sdk-channel: release
app-dir: ./flipper_companion_apps/applications/external/malveke_gb_photo/
- name: Upload app artifacts GB Cartridge
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-official-${{ steps.build-app-gb-cartridge.outputs.suffix }}
path: ${{ steps.build-app-gb-cartridge.outputs.fap-artifacts }}
- name: Upload app artifacts GB Link Camera
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ steps.build-app-link-camera.outputs.suffix }}
path: ${{ steps.build-app-link-camera.outputs.fap-artifacts }}
- name: Upload app artifacts GB Live Camera
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ steps.build-app-live-camera.outputs.suffix }}
path: ${{ steps.build-app-live-camera.outputs.fap-artifacts }}
- name: Upload app artifacts GBA Cartridge
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ steps.build-app-gba-cartridge.outputs.suffix }}
path: ${{ steps.build-app-gba-cartridge.outputs.fap-artifacts }}
- name: Upload app artifacts GB Photo
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ steps.build-app-gb-photo.outputs.suffix }}
path: ${{ steps.build-app-gb-photo.outputs.fap-artifacts }}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ steps.build-app-gb-cartridge.outputs.fap-artifacts }}
${{ steps.build-app-link-camera.outputs.fap-artifacts }}
${{ steps.build-app-live-camera.outputs.fap-artifacts }}
${{ steps.build-app-gba-cartridge.outputs.fap-artifacts }}
${{ steps.build-app-gb-photo.outputs.fap-artifacts }}