-
-
Notifications
You must be signed in to change notification settings - Fork 50
38 lines (30 loc) · 933 Bytes
/
header-limit-beta.yml
File metadata and controls
38 lines (30 loc) · 933 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: Header Limit Beta
on:
workflow_dispatch:
push:
branches:
- fix/http-header-limit-sdkconfig
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install PlatformIO
run: pip install platformio
- name: Build Firmware
run: pio run -e project_aura
- name: Verify Header Limit
run: |
grep -n "CONFIG_HTTPD_MAX_REQ_HDR_LEN" .pio/build/project_aura/config/sdkconfig.h
grep -q "CONFIG_HTTPD_MAX_REQ_HDR_LEN 8192" .pio/build/project_aura/config/sdkconfig.h
- name: Upload OTA Artifact
uses: actions/upload-artifact@v4
with:
name: project_aura-ota-firmware
path: .pio/build/project_aura/firmware.bin
if-no-files-found: error