node-app-build 6.12.0

Mini app developer CLI: scaffold, validate, package node-app-* Debian packages
# Release {{name}} as a node-app .deb on every published GitHub Release.
#
# Delegates to the canonical reusable workflow in econ-v1/node, which resolves
# the version from the release tag, syncs manifest.json + Cargo.toml to it,
# then audits, builds, packages, GPG-signs, and uploads the .deb.
#
# Native cdylibs are dlopened in-process by the platform's native loader, so
# they are architecture-specific and need one .deb per arch. The reusable
# workflow installs `cross` for the non-host arch. Because this profile sets
# `has_ui: true`, `node-app build` also builds the Vite bundle in ui/ and
# `node-app package` stages it alongside the .so.
#
# Only the arm64 leg dispatches the apt aggregator, so the indexer runs once
# per release rather than once per arch.
#
# See docs/development/NODE_APP_RELEASE_WORKFLOW.md.
name: release

on:
  release:
    types: [published]

jobs:
  release:
    strategy:
      fail-fast: false
      matrix:
        arch: [amd64, arm64]
    uses: econ-v1/node/.github/workflows/node-app-release.yml@main
    with:
      arch: ${{ matrix.arch }}
      dispatch_aggregator: ${{ matrix.arch == 'arm64' }}
    secrets: inherit