Skip to content

Commit

Permalink
Merge pull request #36 from chris-allan/app-image
Browse files Browse the repository at this point in the history
Switch to app image to aid code signing workflow
  • Loading branch information
chris-allan authored Jan 5, 2023
2 parents cbe2f68 + 8ebb591 commit 498faef
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,22 @@ jobs:
name: Download blosc
run: |
c:\msys64\usr\bin\wget.exe 'https://github.com/glencoesoftware/c-blosc-windows-x86_64/releases/download/20220919/blosc.dll'
- name: Run jpackage with Gradle
- if: ${{ matrix.os == 'windows-latest' }}
name: Run jpackage with Gradle (installer)
uses: gradle/gradle-build-action@v2
with:
arguments: jpackage
- if: ${{ matrix.os == 'macos-latest' }}
name: Run jpackage with Gradle (application image only)
uses: gradle/gradle-build-action@v2
with:
arguments: jpackageImage
- if: ${{ matrix.os == 'macos-latest' }}
name: Upload Mac pkg
uses: actions/upload-artifact@v2
with:
name: macos-package
path: ./build/jpackage/*.pkg
path: ./build/jpackage/*.app
if-no-files-found: error
retention-days: 3
- if: ${{ matrix.os == 'windows-latest' }}
Expand All @@ -78,6 +84,6 @@ jobs:
with:
files: |
windows-package/*.msi
macos-package/*.pkg
macos-package/*.app
draft: true
fail_on_unmatched_files: true
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v1.1.1 (2023-01-05)

## Bugfixes/Maintenance:
* Switch to app image to aid code signing workflow (#36).

# v1.1.0 (2022-12-15)

## Features:
Expand All @@ -11,7 +16,6 @@
* Improvements to the build/packaging system. Application filesize should now be much smaller (#29, #24).
* UI tweaks (#28)


# v1.0.3 (2022-09-16)

## Features:
Expand Down
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'org.beryx.runtime' version '1.12.5'
}

version = '1.1.0'
version = '1.1.1'
String bfversion = "6.11.1"
String b2rversion = "0.6.0"
String r2oversion = "0.4.0"
Expand Down Expand Up @@ -136,9 +136,7 @@ runtime {
installerOptions += ['--linux-package-name', applicationName,'--linux-shortcut']
}
else if (currentOs.macOsX) {
installerType = "pkg"
imageOptions += ['--java-options', '-Djava.library.path=../lib']
installerOptions += ['--mac-package-name', applicationName]
}
}
}

0 comments on commit 498faef

Please sign in to comment.