File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -89,12 +89,12 @@ jobs:
8989 - os : ubuntu-24.04-arm
9090 os_prefix : linux
9191 arch : aarch64
92- binary : processing_$ {{ needs.version.outputs.version }}_arm64
92+ binary : ${{ vars.SNAP_NAME }}_ {{ needs.version.outputs.version }}_arm64
9393 extension : snap
9494 - os : ubuntu-latest
9595 os_prefix : linux
9696 arch : x64
97- binary : processing_$ {{ needs.version.outputs.version }}_amd64
97+ binary : ${{ vars.SNAP_NAME }}_ {{ needs.version.outputs.version }}_amd64
9898 extension : snap
9999 - os : windows-latest
100100 os_prefix : windows
Original file line number Diff line number Diff line change @@ -232,9 +232,7 @@ tasks.register<Exec>("packageSnap"){
232232
233233 val distributable = tasks.named<AbstractJPackageTask >(" createDistributable" ).get()
234234 workingDir = distributable.destinationDir.dir(" ../" ).get().asFile
235-
236235 commandLine(" snapcraft" )
237- commandLine(" cp ${snapname} _${version} _${snaparch} .snap ${name} _${version} _${snaparch} .snap" )
238236}
239237tasks.register<Exec >(" uploadSnap" ){
240238 onlyIf { org.gradle.internal.os.OperatingSystem .current().isLinux }
@@ -274,7 +272,9 @@ afterEvaluate{
274272 actions = emptyList()
275273 }
276274 tasks.named(" packageDistributionForCurrentOS" ).configure {
277- if (compose.desktop.application.nativeDistributions.macOS.notarization.appleID.isPresent){
275+ if (org.gradle.internal.os.OperatingSystem .current().isMacOsX
276+ && compose.desktop.application.nativeDistributions.macOS.notarization.appleID.isPresent
277+ ){
278278 dependsOn(" notarizeDmg" )
279279 }
280280 dependsOn(" packageSnap" , " uploadSnap" )
You can’t perform that action at this time.
0 commit comments