github/workflows: Update Workflow. #24
Workflow file for this run
This file contains hidden or 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: UIFLOW2 Firmware Release | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
packages: write | |
jobs: | |
build: | |
runs-on: [self-hosted, Linux, X64] | |
steps: | |
- uses: actions/[email protected] | |
- name: Install dependencies with apt | |
run: | | |
sudo apt-get update | |
sudo apt-get install git wget flex bison gperf quilt python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 -y | |
- name: Install packages | |
run: source tools/ci.sh && ci_esp32_idf541_setup | |
- name: Build | |
run: source tools/ci.sh && ci_esp32_nightly_build | |
- name: Upload firmware | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: | | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_AirQ/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Atom_Echo/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Atom_Lite/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Atom_Matrix/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_AtomS3/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_AtomS3_Lite/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_AtomS3R/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_AtomS3R_CAM/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_AtomS3U/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_AtomU/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Basic/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Basic_4MB/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Capsule/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Cardputer/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Core2/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_CoreInk/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_CoreS3/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Dial/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_DinMeter/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Fire/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_NanoC6/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Paper/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_PaperS3/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Stamp_PICO/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_StamPLC/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_StampS3/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Station/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_StickC/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_StickC_PLUS/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_StickC_PLUS2/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Tab5/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/m5stack/build-M5STACK_Tough/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/third-party/build-SEEED_STUDIO_XIAO_ESP32S3/uiflow-*-*.bin | |
$GITHUB_WORKSPACE/third-party/build-ESPRESSIF_ESP32_S3_BOX_3/uiflow-*-*.bin |