forked from luu176/Metroflip
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 832 Bytes
/
main.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
name: UFBT Build and Test App
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
build:
name: Build and Test Application
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install UFBT
run: |
python3 -m pip install --upgrade pip
pip install ufbt
- name: Initialize UFBT Environment
run: |
ufbt update
ufbt vscode_dist
- name: Build FAP Applications
run: ufbt faps
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: build-output
path: build/