Skip to content

Commit

Permalink
Update platformio_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PranjalChaitanya authored Oct 2, 2024
1 parent 8d4d700 commit 50a8fde
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/platformio_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v2
- name: Install PlatformIO
Expand All @@ -23,10 +35,4 @@ jobs:
run: |
cd MIDAS
pio platform install teensy
pio run -e mcu_main_booster -e mcu_main_sustainer -e mcu_hilsim_sustainer -e mcu_hilsim_booster -e mcu_silsim_sustainer -e mcu_silsim_booster || true
- name: Artifacts
uses: actions/upload-artifact@v4
with:
name: firmware-files
path: |
MIDAS/.pio/build/**
pio run -e mcu_main

0 comments on commit 50a8fde

Please sign in to comment.