From 24717dde19befcbb6115dd72323b08726cad7152 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com.> Date: Fri, 13 Dec 2024 18:20:54 +0000 Subject: [PATCH] finish --- .github/workflows/multiOSReleases.yml | 11 ++++------- build.gradle | 11 +++-------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/multiOSReleases.yml b/.github/workflows/multiOSReleases.yml index fc1a7635..cd6206cd 100644 --- a/.github/workflows/multiOSReleases.yml +++ b/.github/workflows/multiOSReleases.yml @@ -1,15 +1,12 @@ name: Test Installers Build on: - push: - branches: - - testStuff workflow_dispatch: - + release: + types: [created] permissions: contents: write packages: write - jobs: build-installers: strategy: @@ -87,8 +84,8 @@ jobs: # Upload installer as artifact for testing - name: Upload Installer Artifact uses: actions/upload-artifact@v4 - with: - name: Stirling-PDF-${{ matrix.platform }}.${{ matrix.ext }} + with: + name: Stirling-PDF-${{ matrix.platform }}-installer.{{ matrix.ext }} path: Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }} retention-days: 1 if-no-files-found: error \ No newline at end of file diff --git a/build.gradle b/build.gradle index 909b8ffd..422fd5bc 100644 --- a/build.gradle +++ b/build.gradle @@ -43,7 +43,6 @@ repositories { url 'https://build.shibboleth.net/maven/releases' } maven { url "https://build.shibboleth.net/maven/releases" } - // Add Maven repository for JCEF maven { url "https://maven.pkg.github.com/jcefmaven/jcefmaven" } } @@ -93,23 +92,19 @@ def getMacVersion(String version) { } jpackage { - // Input directory containing the jar input = "build/libs" - // Application details appName = "Stirling-PDF" appVersion = project.version vendor = "Stirling-Software" + appDescription = "Stirling PDF - Your Local PDF Editor" - // Main application configuration mainJar = "Stirling-PDF-${project.version}.jar" mainClass = "org.springframework.boot.loader.launch.JarLauncher" - // Default icon configuration icon = "src/main/resources/static/favicon.ico" - // Application description - appDescription = "Stirling PDF - Your Local PDF Editor" + // JVM Options javaOptions = [ @@ -123,7 +118,7 @@ jpackage { ] - // Enable verbose output + verbose = true destination = "${projectDir}/build/jpackage"