-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 849 Bytes
/
Copy pathprod-bundle.yml
File metadata and controls
38 lines (32 loc) · 849 Bytes
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
name: Production Bundle
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build-bundle:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
board:
- esp32_c3
- esp32_lolin_c3_mini
- esp32_lolin_s2_mini
- esp32_wroom_v1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install packaging prerequisites
run: |
sudo apt-get update
sudo apt-get install -y gettext-base
- name: Build production bundle
run: ./scripts/build-prod-bundle --no-mpy ${{ matrix.board }}
- name: Upload bundle artifact
uses: actions/upload-artifact@v4
with:
name: prod-bundle-${{ matrix.board }}
path: dist/prod/${{ matrix.board }}/
if-no-files-found: error