Skip to content

fixing path errors

fixing path errors #10

Workflow file for this run

name: PlatformIO CI
on:
push:
branches:
- action # Replace 'main' with your branch if different
workflow_dispatch: # This keeps the option to trigger manually
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Run PlatformIO
run: |
cd MIDAS
pio platform install teensy
pio run -e mcu_main_sustainer
pio run -e mcu_main_booster
pio run -e mcu_hilsim_sustainer
pio run -e mcu_hilsim_booster
- name: Artifacts
uses: actions/upload-artifact@v4
with:
name: firmware-files
path: |
MIDAS/.pio/build/mcu_main_sustainer
MIDAS/.pio/build/mcu_main_booster
MIDAS/.pio/build/mcu_hilsim_sustainer
MIDAS/.pio/build/mcu_hilsim_sustainer