mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2024-12-21 19:08:24 +01:00
finish
This commit is contained in:
parent
509a305985
commit
24717dde19
9
.github/workflows/multiOSReleases.yml
vendored
9
.github/workflows/multiOSReleases.yml
vendored
@ -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:
|
||||||
@ -88,7 +85,7 @@ jobs:
|
|||||||
- 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
|
11
build.gradle
11
build.gradle
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user