From 20f358e01c284b2e7dec8558fc90240bf773cc54 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Thu, 12 Mar 2026 22:15:07 -0500 Subject: [PATCH] ci(release): pass app version to desktop build via environment variable (#4774) --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0892ff255..5a7efc8e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -301,7 +301,9 @@ jobs: run: ./gradlew exportLibraryDefinitions -Pci=true - name: Package Native Distributions - run: ./gradlew :desktop:packageReleaseDistributionForCurrentOS -PappVersionName=${{ needs.prepare-build-info.outputs.APP_VERSION_NAME }} --no-daemon + env: + ORG_GRADLE_PROJECT_appVersionName: ${{ needs.prepare-build-info.outputs.APP_VERSION_NAME }} + run: ./gradlew :desktop:packageReleaseDistributionForCurrentOS --no-daemon - name: Upload Desktop Artifacts if: always() @@ -309,9 +311,9 @@ jobs: with: name: desktop-${{ runner.os }} path: | - desktop/build/compose/binaries/main/app/*/*.dmg - desktop/build/compose/binaries/main/app/*/*.msi - desktop/build/compose/binaries/main/app/*/*.deb + desktop/build/compose/binaries/main-release/*/*.dmg + desktop/build/compose/binaries/main-release/*/*.msi + desktop/build/compose/binaries/main-release/*/*.deb retention-days: 1 if-no-files-found: ignore