Skip to content

Commit 20986d8

Browse files
committed
Ajout correction job windows
1 parent 2c95a7b commit 20986d8

1 file changed

Lines changed: 8 additions & 19 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ jobs:
1717
java-version: '21'
1818
- name: Build EXE
1919
run: ./gradlew buildExeForWindows
20-
- name: Upload EXE artifact
20+
- name: Compile .ISS to .EXE Installer
21+
uses: Minionguyjpro/Inno-Setup-Action@v1.2.5
22+
with:
23+
path: installScript.iss
24+
- name: Upload Installer artifact
2125
uses: actions/upload-artifact@v4
2226
with:
23-
name: myapp-exe-windows
24-
path: build/jpackage/*.exe
27+
name: myapp-installer
28+
path: build/innosetup/*.exe
2529

2630
buildMsiForWindows:
2731
runs-on: windows-latest
@@ -40,21 +44,6 @@ jobs:
4044
name: myapp-msi-windows
4145
path: build/jpackage/*.msi
4246

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/Inno-Setup-Action@v1.2.5
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
57-
5847
buildDebForLinux:
5948
runs-on: ubuntu-latest
6049
steps:
@@ -113,7 +102,7 @@ jobs:
113102
path: build/jpackage/*.dmg
114103

115104
release:
116-
needs: [buildExeForWindows, buildMsiForWindows, buildInnoSetup, buildDebForLinux, buildRpmForLinux, buildDmgForMacOS]
105+
needs: [buildExeForWindows, buildMsiForWindows, buildDebForLinux, buildRpmForLinux, buildDmgForMacOS]
117106
runs-on: ubuntu-latest
118107
steps:
119108
- name: Download all artifacts

0 commit comments

Comments
 (0)