v3.2.1 #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Firmware | |
on: | |
workflow_dispatch: | |
release: | |
types: [ published ] | |
jobs: | |
build_v1: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
# with: | |
# submodules: 'recursive' | |
- name: Copy the correct sdkconfig | |
run: make set_hardware_v1 | |
- name: esp-idf build | |
uses: espressif/esp-idf-ci-action@v1 | |
with: | |
esp_idf_version: v4.4.2 | |
target: esp32 | |
path: '/' | |
- name: Pack | |
run: | | |
tar -czf rfmarkit-esp-node-v1.tar.gz ./build/rfmarkit-esp-node.bin ./build/rfmarkit-esp-node.elf | |
cp ./build/rfmarkit-esp-node.bin rfmarkit-esp-node-v1.bin | |
- name: Upload | |
uses: actions/[email protected] | |
with: | |
name: rfmarkit-esp-node-v1 | |
path: rfmarkit-esp-node-v1.tar.gz | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
tag_name: ${{ github.ref }} | |
name: Release ${{ github.ref }} | |
body: TODO New Release. | |
draft: true | |
prerelease: true | |
files: | | |
rfmarkit-esp-node-v1.bin | |
rfmarkit-esp-node-v1.tar.gz | |
build_v2: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
# with: | |
# submodules: 'recursive' | |
- name: Copy the correct sdkconfig | |
run: make set_hardware_v2 | |
- name: esp-idf build | |
uses: espressif/esp-idf-ci-action@v1 | |
with: | |
esp_idf_version: v4.4.2 | |
target: esp32s3 | |
path: '/' | |
- name: Pack | |
run: | | |
tar -czf rfmarkit-esp-node-v2.tar.gz ./build/rfmarkit-esp-node.bin ./build/rfmarkit-esp-node.elf | |
cp ./build/rfmarkit-esp-node.bin rfmarkit-esp-node-v2.bin | |
- name: Upload | |
uses: actions/[email protected] | |
with: | |
name: rfmarkit-esp-node-v2 | |
path: rfmarkit-esp-node-v2.tar.gz | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
tag_name: ${{ github.ref }} | |
name: Release ${{ github.ref }} | |
body: TODO New Release. | |
draft: true | |
prerelease: true | |
files: | | |
rfmarkit-esp-node-v2.bin | |
rfmarkit-esp-node-v2.tar.gz |