2020 - name : Upload EXE artifact
2121 uses : actions/upload-artifact@v4
2222 with :
23- name : exe-windows
24- path : build/libs /*.exe
23+ name : myapp- exe-windows
24+ path : build/jpackage /*.exe
2525
2626 buildMsiForWindows :
2727 runs-on : windows-latest
3737 - name : Upload MSI artifact
3838 uses : actions/upload-artifact@v4
3939 with :
40- name : msi-windows
41- path : build/libs/*.msi
40+ name : myapp-msi-windows
41+ path : build/jpackage/*.msi
42+
43+ buildInnoSetup :
44+ needs : [buildExeForWindows, buildMsiForWindows]
45+ runs-on : windows-latest
46+ steps :
47+ - uses : actions/checkout@v4
48+ - name : Compile .ISS to .EXE Installer
49+ uses :
Minionguyjpro/[email protected] 50+ with :
51+ path : installScript.iss
52+ - name : Upload Installer artifact
53+ uses : actions/upload-artifact@v4
54+ with :
55+ name : myapp-installer
56+ path : build/innosetup/*.exe
4257
4358 buildDebForLinux :
4459 runs-on : ubuntu-latest
5671 - name : Upload DEB artifact
5772 uses : actions/upload-artifact@v4
5873 with :
59- name : deb-linux
60- path : build/libs /*.deb
74+ name : myapp- deb-linux
75+ path : build/jpackage /*.deb
6176
6277 buildRpmForLinux :
6378 runs-on : ubuntu-latest
7590 - name : Upload RPM artifact
7691 uses : actions/upload-artifact@v4
7792 with :
78- name : rpm-linux
79- path : build/libs /*.rpm
93+ name : myapp- rpm-linux
94+ path : build/jpackage /*.rpm
8095
8196 buildDmgForMacOS :
8297 runs-on : macos-latest
@@ -94,11 +109,11 @@ jobs:
94109 - name : Upload DMG artifact
95110 uses : actions/upload-artifact@v4
96111 with :
97- name : dmg-macos
98- path : build/libs /*.dmg
112+ name : myapp- dmg-macos
113+ path : build/jpackage /*.dmg
99114
100115 release :
101- needs : [buildExeForWindows, buildMsiForWindows, buildDebForLinux, buildRpmForLinux, buildDmgForMacOS]
116+ needs : [buildExeForWindows, buildMsiForWindows, buildInnoSetup, buildDebForLinux, buildRpmForLinux, buildDmgForMacOS]
102117 runs-on : ubuntu-latest
103118 steps :
104119 - name : Download all artifacts
0 commit comments