Skip to content

Commit 1650cf3

Browse files
committed
gh-actions: Upload built firmware
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 129c78f commit 1650cf3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,16 @@ jobs:
5858
- name: Build for Teensy 4.1
5959
run: |
6060
pio run -e teensy41
61+
62+
- name: Prepare firmware folder
63+
run: |
64+
mkdir build
65+
cp .pio/build/teensy31/firmware.hex build/teensy31_firmware.hex
66+
cp .pio/build/teensy36/firmware.hex build/teensy36_firmware.hex
67+
cp .pio/build/teensy41/firmware.hex build/teensy41_firmware.hex
68+
69+
- name: Upload Teensy Firmware
70+
uses: actions/upload-artifact@v3
71+
with:
72+
name: teensy_firmware
73+
path: build

0 commit comments

Comments
 (0)