File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,13 @@ jobs:
52
52
name : Run jpackage with Gradle (application image only)
53
53
uses : gradle/gradle-build-action@v2
54
54
with :
55
- arguments : jpackageImage
55
+ arguments : jpackageImageZip
56
56
- if : ${{ matrix.os == 'macos-latest' }}
57
57
name : Upload Mac pkg
58
58
uses : actions/upload-artifact@v2
59
59
with :
60
60
name : macos-package
61
- path : ./build/jpackage /*.app
61
+ path : ./build/distributions /*.zip
62
62
if-no-files-found : error
63
63
retention-days : 3
64
64
- if : ${{ matrix.os == 'windows-latest' }}
84
84
with :
85
85
files : |
86
86
windows-package/*.msi
87
- macos-package/*.app
87
+ macos-package/*.zip
88
88
draft : true
89
89
fail_on_unmatched_files : true
Original file line number Diff line number Diff line change @@ -139,4 +139,9 @@ runtime {
139
139
imageOptions + = [' --java-options' , ' -Djava.library.path=../lib' ]
140
140
}
141
141
}
142
+
143
+ tasks. register(' jpackageImageZip' , Zip ) {
144
+ dependsOn jpackageImage
145
+ from layout. buildDirectory. dir(" jpackage" )
146
+ }
142
147
}
You can’t perform that action at this time.
0 commit comments