feat: implementiere Cross-Packaging für Windows-MSI via Conveyor auf Linux
Feature Build — Windows MSI (via Conveyor) / 📦 Windows .msi Packaging (push) Has been skipped
Feature Build — Windows MSI (via Conveyor) / 📦 Windows .msi Packaging (push) Has been skipped
Signed-off-by: StefanMoCoAt <stefan.mo.co@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Feature Build — Windows MSI
|
||||
name: Feature Build — Windows MSI (via Conveyor)
|
||||
on:
|
||||
push:
|
||||
branches: [ "feature/*" ] # Reagiert auf alle Feature-Branches
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
name: 📦 Windows .msi Packaging
|
||||
# Nur ausführen, wenn Desktop-CI explizit aktiviert ist
|
||||
if: ${{ vars.DESKTOP_CI_ENABLED == 'true' }}
|
||||
runs-on: windows-latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -18,27 +18,26 @@ jobs:
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
cache: gradle
|
||||
|
||||
- name: Gradle cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
.gradle
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'gradle.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Windows .msi bauen
|
||||
env:
|
||||
_JAVA_OPTIONS: -Djava.awt.headless=true
|
||||
- name: Gradle Build (Uber-JAR)
|
||||
run: |
|
||||
./gradlew :frontend:shells:meldestelle-desktop:packageMsi --stacktrace --no-daemon
|
||||
./gradlew :frontend:shells:meldestelle-desktop:jvmJar --no-daemon
|
||||
|
||||
- name: Setup Conveyor
|
||||
run: |
|
||||
curl -s https://conveyor.hydraulic.dev/install.sh | sh
|
||||
echo "$HOME/.conveyor/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Windows .msi mit Conveyor bauen
|
||||
run: |
|
||||
# Conveyor baut das MSI direkt auf Linux
|
||||
# Wir nutzen --unpinned, um keine festen Versionen zu erzwingen
|
||||
conveyor make windows-msi
|
||||
|
||||
- name: .msi Artefakt hochladen
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: meldestelle-windows-feature-build
|
||||
path: frontend/shells/meldestelle-desktop/build/compose/binaries/main/msi/*.msi
|
||||
if-no-files-found: warn
|
||||
path: output/*.msi
|
||||
if-no-files-found: error
|
||||
|
||||
Reference in New Issue
Block a user