File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 55 branches : [main]
66 release :
77 types : [published]
8+ workflow_dispatch :
89
910jobs :
1011 build :
1112
1213 runs-on : ubuntu-latest
1314 continue-on-error : false
1415
16+ outputs :
17+ zipfile-id : ${{ steps.zip_step.outputs.artifact-id }}
18+
1519 steps :
1620 - name : Checkout repo
1721 uses : actions/checkout@v4
@@ -27,12 +31,15 @@ jobs:
2731
2832 - name : Upload Build Outputs
2933 uses : actions/upload-artifact@v4
34+ id : zip_step
3035 with :
3136 name : build-artifacts
3237 path : |
38+ build/*.bin
39+ build/*.elf
3340 build/bootloader/bootloader.bin
3441 build/partition_table/partition-table.bin
35- build/*.bin
42+ build/flasher_args.json
3643 build/flash_args
3744
3845 - name : Attach files to release
4148 with :
4249 files : |
4350 build/*.bin
51+ build/*.elf
4452 build/bootloader/bootloader.bin
4553 build/partition_table/partition-table.bin
54+ build/flasher_args.json
4655 build/flash_args
4756
57+ package :
58+ name : Package the binaries into an executables for Windows, MacOS, and Linux (Ubuntu)
59+ needs : build
60+ strategy :
61+ matrix :
62+ os : [windows-latest, macos-latest, ubuntu-latest]
63+ runs-on : ${{ matrix.os }}
64+ steps :
65+ - uses : esp-cpp/esp-packaged-programmer-action@v1.0.1
66+ with :
67+ zipfile-id : ${{ needs.build.outputs.zipfile-id }}
68+ programmer-name : ' esp-usb-ble-hid_programmer'
You can’t perform that action at this time.
0 commit comments