mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-17 13:22:53 +01:00
ci: Build the merged binary and include in artifacts
This commit is contained in:
parent
43c0a2abd9
commit
9797c1a91e
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -21,13 +21,25 @@ jobs:
|
||||
uses: espressif/esp-idf-ci-action@v1
|
||||
with:
|
||||
esp_idf_version: v5.1
|
||||
target: esp32s2
|
||||
target: esp32s3
|
||||
command: GITHUB_ACTIONS="true" idf.py build
|
||||
path: '.'
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
cache: 'pip' # caching pip dependencies
|
||||
- run: pip install esptool
|
||||
- name: "Create factory/merged image"
|
||||
run: "./merge_bin.sh ./esp-miner-merged.bin"
|
||||
- name: upload esp-miner-merged.bin
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: esp-miner-factory.bin
|
||||
path: ./esp-miner-merged.bin
|
||||
- name: upload esp-miner.bin
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: esp-miner.bin
|
||||
name: esp-miner-ota.bin
|
||||
path: ./build/esp-miner.bin
|
||||
- name: upload www.bin
|
||||
uses: actions/upload-artifact@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user