|
|
@@ -15,15 +15,25 @@ jobs:
|
|
|
with:
|
|
|
path: BlueSCSI
|
|
|
fetch-depth: "0"
|
|
|
+ - uses: actions/cache@v4
|
|
|
+ with:
|
|
|
+ path: |
|
|
|
+ ~/.cache/pip
|
|
|
+ ~/.platformio/.cache
|
|
|
+ key: ${{ runner.os }}-pio
|
|
|
+
|
|
|
+ - uses: actions/setup-python@v5
|
|
|
+ with:
|
|
|
+ python-version: '3.11'
|
|
|
|
|
|
- name: Install platformio
|
|
|
run: |
|
|
|
- sudo pip install platformio
|
|
|
+ pip install --upgrade platformio
|
|
|
|
|
|
- name: Build firmware
|
|
|
run: |
|
|
|
cd BlueSCSI
|
|
|
- pio run -v
|
|
|
+ pio run -v -e BlueSCSI_Pico
|
|
|
|
|
|
- name: Rename firmware files
|
|
|
run: |
|