File tree Expand file tree Collapse file tree 2 files changed +23
-7
lines changed
Expand file tree Collapse file tree 2 files changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,18 @@ jobs:
4444 brew install nvm
4545 poetry run postinstall
464647- - name : Build executables
47+ - name : Build MacOS executable
4848 run : |
4949 poetry run python -m openadapt.build
50- - name : Upload executables
50+ cd dist
51+ zip -r ../OpenAdapt.app.zip OpenAdapt.app
52+ cd ..
53+ - name : Upload MacOS executable
54+ uses : actions/upload-artifact@v4
55+ with :
56+ name : OpenAdapt.app
57+ path : OpenAdapt.app.zip
58+ - name : Upload MacOS installer
5159 uses : actions/upload-artifact@v4
5260 with :
5361 name : OpenAdapt.dmg
@@ -80,14 +88,22 @@ jobs:
8088 cd ../../../
8189 pip install wheel
8290 poetry run postinstall
83- - name : Build executables
91+ - name : Build Windows executable
8492 run : |
8593 poetry run python -m openadapt.build
86- - name : Upload executables
94+ cd dist
95+ 7z a -tzip ../OpenAdapt.zip OpenAdapt
96+ cd ..
97+ - name : Upload Windows executable
98+ uses : actions/upload-artifact@v4
99+ with :
100+ name : OpenAdapt
101+ path : OpenAdapt.zip
102+ - name : Upload Windows installer
87103 uses : actions/upload-artifact@v4
88104 with :
89105 name : OpenAdapt_Installer
90- path : OpenAdapt_Installer
106+ path : OpenAdapt_Installer.exe
91107
92108 test_on_macos :
93109 name : Test on macOS
Original file line number Diff line number Diff line change @@ -243,8 +243,8 @@ def create_windows_installer() -> None:
243243OutputDir={ ROOT_DIR / "dist" }
244244
245245[Files]
246- Source: "{ DIST_DIR } \\ *"; DestDir: "{{app}}";
247- Flags: ignoreversion recursesubdirs createallsubdirs
246+ Source: "{ DIST_DIR } \\ *"; DestDir: "{{app}}"; \
247+ Flags: ignoreversion recursesubdirs createallsubdirs
248248
249249[Icons]
250250Name: "{{group}}\\ OpenAdapt"; Filename: "{{app}}\\ OpenAdapt.exe"
You can’t perform that action at this time.
0 commit comments