feat(desktop): align versioning with Android, build runnable distributions in CI (#5064)

This commit is contained in:
James Rich 2026-04-10 22:50:32 -05:00 committed by GitHub
parent 6b77658cb1
commit 1f88a26d51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 102 additions and 23 deletions

View file

@ -357,12 +357,16 @@ jobs:
# ── Desktop Build ───────────────────────────────────────────────────
build-desktop:
name: Build Desktop Debug
runs-on: ubuntu-24.04
name: Build Desktop Debug (${{ matrix.os }})
runs-on: ${{ matrix.os }}
permissions:
contents: read
timeout-minutes: 60
needs: lint-check
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-24.04, ubuntu-24.04-arm]
env:
VERSION_CODE: ${{ needs.lint-check.outputs.version_code }}
@ -380,12 +384,12 @@ jobs:
cache_read_only: ${{ needs.lint-check.outputs.cache_read_only }}
- name: Build Desktop
run: ./gradlew :desktop:packageDistributionForCurrentOS -Pci=true --scan
run: ./gradlew :desktop:createDistributable -Pci=true --scan
- name: Upload Desktop artifact
if: ${{ inputs.upload_artifacts }}
uses: actions/upload-artifact@v7
with:
name: desktop-app
path: desktop/build/compose/binaries/main/app/Meshtastic/bin/*
name: desktop-app-${{ runner.os }}-${{ runner.arch }}
path: desktop/build/compose/binaries/main/app/
retention-days: 7