Integrate usermods environment

Move the "all usermods" logic in to the platformio script, so the
'usermods' environment can be built in any checkout without extra setup
commands.
This commit is contained in:
Will Miles
2025-01-14 22:21:26 +00:00
parent 270d75afe2
commit 8fd905215f
4 changed files with 6 additions and 14 deletions

View File

@@ -57,11 +57,6 @@ jobs:
cache: 'pip'
- name: Install PlatformIO
run: pip install -r requirements.txt
- name: Add usermods environment
run: |
cp -v usermods/platformio_override.usermods.ini platformio_override.ini
echo -n "custom_usermods = " >> platformio_override.ini
find usermods/ -name library.json | xargs dirname | xargs -n 1 basename | xargs echo >> platformio_override.ini
- name: Build firmware
run: pio run -e ${{ matrix.environment }}