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
on:
push:
branches:
- testStuff
workflow_dispatch:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
build-installers:
strategy:
@ -88,7 +85,7 @@ jobs:
- name: Upload Installer Artifact
uses: actions/upload-artifact@v4
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 }}
retention-days: 1
if-no-files-found: error

View File

@ -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"