mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-10-31 16:23:03 +00:00
chore(release): HealthChat 1.1.2
Remove the Linux desktop build from the release pipeline. It could never succeed in this fork: the upstream Linux reusable pulls a build-env Docker image keyed by the building commit's SHA from the upstream element-hq registry, where the fork's SHA does not exist, so every tagged build failed with `manifest unknown`. Desktop releases now ship macOS and Windows only. - Drop the linux job + its release artifacts from build-healthchat-desktop.yaml - Bump apps/desktop/package.json to 1.1.2 - Update releasing-healthchat skill + desktop README docs
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
name: Build HealthChat Desktop
|
||||
|
||||
# Builds the HealthChat desktop (Electron) app for Linux, macOS and Windows: the fork's
|
||||
# Builds the HealthChat desktop (Electron) app for macOS and Windows: the fork's
|
||||
# element-web webapp with the HealthChat plugin (healthchat-module.js + healthchat-elements.js)
|
||||
# injected, packaged via the element-desktop build pipeline and published to the GitHub Release.
|
||||
#
|
||||
# This is the desktop counterpart of build-healthchat.yaml (web). On a `healthchat-v*` tag it
|
||||
# runs alongside the web build; it first builds the element-plugin from healthchat-workspace,
|
||||
# builds the fork webapp with the plugin injected, then feeds it into build_desktop_prepare.yaml
|
||||
# (via `webapp-artifact`) and the per-platform build_desktop_{linux,macos,windows}.yaml reusables.
|
||||
# (via `webapp-artifact`) and the per-platform build_desktop_{macos,windows}.yaml reusables.
|
||||
#
|
||||
# Notes:
|
||||
# - The reusable build workflows are pointed at THIS fork (repository/ref inputs) so the Electron
|
||||
@@ -18,7 +18,7 @@ name: Build HealthChat Desktop
|
||||
# GitHub environments (secrets/vars) to be configured. Without them the builds still run but
|
||||
# produce unsigned/untrusted output. See apps/desktop/element.io/healthchat/README.
|
||||
# - The desktop app version comes from apps/desktop/package.json (electron-builder); the per-job
|
||||
# `version` input only feeds the macOS/Linux update manifest and is mangled into a nightly
|
||||
# `version` input only feeds the macOS update manifest and is mangled into a nightly
|
||||
# string by Windows squirrel, so it cannot set the app version. To keep the installers / About
|
||||
# dialog in sync with the tag, apps/desktop/package.json must be bumped to the release version
|
||||
# in the release commit. The "Assert desktop app version matches release" step below enforces
|
||||
@@ -176,22 +176,6 @@ jobs:
|
||||
nightly: false
|
||||
deploy: false
|
||||
|
||||
linux:
|
||||
name: Linux ${{ matrix.arch }}
|
||||
needs: prepare
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [amd64, arm64]
|
||||
uses: ./.github/workflows/build_desktop_linux.yaml
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ github.sha }}
|
||||
arch: ${{ matrix.arch }}
|
||||
sqlcipher: static
|
||||
test: false
|
||||
|
||||
macos:
|
||||
name: macOS
|
||||
needs: prepare
|
||||
@@ -234,7 +218,7 @@ jobs:
|
||||
|
||||
release:
|
||||
name: Publish to GitHub Release
|
||||
needs: [linux, macos, windows]
|
||||
needs: [macos, windows]
|
||||
# Only publish on a real tag push; manual workflow_dispatch runs build but do not publish.
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
@@ -254,8 +238,6 @@ jobs:
|
||||
find dist-artifacts -type f \( -iname '*.dmg' -o -iname '*-mac.zip' \) -exec cp -v {} release-files/ \;
|
||||
# Windows: per-machine MSI + Squirrel "Setup" installer
|
||||
find dist-artifacts -type f \( -iname '*.msi' -o -iname '* Setup*.exe' \) -exec cp -v {} release-files/ \;
|
||||
# Linux: portable tarball + Debian package
|
||||
find dist-artifacts -type f \( -iname '*.tar.gz' -o -iname '*.deb' \) -exec cp -v {} release-files/ \;
|
||||
echo "--- release files ---"
|
||||
ls -la release-files
|
||||
test -n "$(ls -A release-files)" || { echo "::error::No installer files collected"; exit 1; }
|
||||
|
||||
Reference in New Issue
Block a user