This commit is contained in:
Anthony Stirling 2024-12-13 18:20:54 +00:00
parent 509a305985
commit 24717dde19
2 changed files with 7 additions and 15 deletions

View File

@ -1,15 +1,12 @@
name: Test Installers Build name: Test Installers Build
on: on:
push:
branches:
- testStuff
workflow_dispatch: workflow_dispatch:
release:
types: [created]
permissions: permissions:
contents: write contents: write
packages: write packages: write
jobs: jobs:
build-installers: build-installers:
strategy: strategy:
@ -87,8 +84,8 @@ jobs:
# Upload installer as artifact for testing # Upload installer as artifact for testing
- name: Upload Installer Artifact - name: Upload Installer Artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Stirling-PDF-${{ matrix.platform }}.${{ matrix.ext }} name: Stirling-PDF-${{ matrix.platform }}-installer.{{ matrix.ext }}
path: Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }} path: Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }}
retention-days: 1 retention-days: 1
if-no-files-found: error if-no-files-found: error

View File

@ -43,7 +43,6 @@ repositories {
url 'https://build.shibboleth.net/maven/releases' url 'https://build.shibboleth.net/maven/releases'
} }
maven { 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" } maven { url "https://maven.pkg.github.com/jcefmaven/jcefmaven" }
} }
@ -93,23 +92,19 @@ def getMacVersion(String version) {
} }
jpackage { jpackage {
// Input directory containing the jar
input = "build/libs" input = "build/libs"
// Application details
appName = "Stirling-PDF" appName = "Stirling-PDF"
appVersion = project.version appVersion = project.version
vendor = "Stirling-Software" vendor = "Stirling-Software"
appDescription = "Stirling PDF - Your Local PDF Editor"
// Main application configuration
mainJar = "Stirling-PDF-${project.version}.jar" mainJar = "Stirling-PDF-${project.version}.jar"
mainClass = "org.springframework.boot.loader.launch.JarLauncher" mainClass = "org.springframework.boot.loader.launch.JarLauncher"
// Default icon configuration
icon = "src/main/resources/static/favicon.ico" icon = "src/main/resources/static/favicon.ico"
// Application description
appDescription = "Stirling PDF - Your Local PDF Editor"
// JVM Options // JVM Options
javaOptions = [ javaOptions = [
@ -123,7 +118,7 @@ jpackage {
] ]
// Enable verbose output
verbose = true verbose = true
destination = "${projectDir}/build/jpackage" destination = "${projectDir}/build/jpackage"