25.12.1 #3
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: Build minimal | |
| on: | |
| release: | |
| types: [published] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-firmware: | |
| name: Build Firmware | |
| uses: esphome/workflows/.github/workflows/[email protected] | |
| with: | |
| files: | | |
| m5stack-atom-echo/m5stack-atom-echo.minimal.factory.yaml | |
| esphome-version: 2025.11.3 | |
| release-summary: ${{ github.event_name == 'release' && github.event.release.body || '' }} | |
| release-url: ${{ github.event_name == 'release' && github.event.release.html_url || '' }} | |
| release-version: ${{ github.event_name == 'release' && github.event.release.tag_name || '' }} | |
| upload-to-release: | |
| name: Upload to Release | |
| runs-on: ubuntu-latest | |
| needs: | |
| - build-firmware | |
| steps: | |
| - name: Download Artifact | |
| uses: actions/[email protected] | |
| with: | |
| path: files | |
| - name: Copy file to output | |
| run: |- | |
| mkdir output | |
| version="${{ github.event.release.tag_name }}" | |
| cd "files/m5stack-atom-echo/$version" | |
| cp m5stack-atom-echo-esp32.factory.bin ../../../output/m5stack-atom-echo.minimal.factory.bin | |
| md5sum m5stack-atom-echo-esp32.factory.bin | head -c 32 > ../../../output/m5stack-atom-echo.minimal.factory.bin.md5 | |
| - name: Upload files to release | |
| uses: softprops/[email protected] | |
| with: | |
| files: output/* | |
| tag_name: ${{ github.event.release.tag_name }} |