change workflow to build one zip per processor arch

This commit is contained in:
Thomas Göttgens
2024-10-01 13:14:51 +02:00
parent 8d288d5a3c
commit b769d9f854
9 changed files with 102 additions and 86 deletions

View File

@@ -31,6 +31,10 @@ inputs:
description: Include the web UI in the build
required: false
default: "false"
arch:
description: Processor arch name
required: true
default: "esp32"
runs:
using: composite
@@ -84,7 +88,7 @@ runs:
- name: Store binaries as an artifact
uses: actions/upload-artifact@v4
with:
name: firmware-${{ inputs.board }}-${{ steps.version.outputs.version }}.zip
name: firmware-${{ inputs.arch }}-${{ inputs.board }}-${{ steps.version.outputs.version }}.zip
overwrite: true
path: |
${{ inputs.artifact-paths }}