Skip to content

Commit

Permalink
Workflow improved image will be build
Browse files Browse the repository at this point in the history
  • Loading branch information
cnadler86 committed Oct 11, 2024
1 parent 89e000a commit bd32cad
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ESP32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,14 @@ jobs:
fi
echo "Running command: $FINAL_CMD"
eval $FINAL_CMD
mv ~/micropython/ports/esp32/build-${BUILD_TARGET}/micropython.bin ~/firmware.bin
cd ~/micropython/ports/esp32/build-${BUILD_TARGET}
python ../makeimg.py sdkconfig bootloader/bootloader.bin partition_table/partition-table.bin micropython.bin firmware.bin micropython.uf2
mkdir -p ~/artifacts
mv ~/micropython/ports/esp32/build-${BUILD_TARGET}/firmware.bin ~/artifacts/firmware.bin
- name: Upload firmware artifact
uses: actions/upload-artifact@v4
with:
name: firmware-${{ env.FW_NAME }}
path: ~/firmware.bin
path: ~/artifacts/**
retention-days: 5

0 comments on commit bd32cad

Please sign in to comment.