-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): escape installer newline, upload installers and executabl…
…es (#860) * escape newline in inno script * upload installers and executables
- Loading branch information
Showing
2 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,10 +44,18 @@ jobs: | |
brew install nvm | ||
poetry run postinstall | ||
brew install [email protected] | ||
- name: Build executables | ||
- name: Build MacOS executable | ||
run: | | ||
poetry run python -m openadapt.build | ||
- name: Upload executables | ||
cd dist | ||
zip -r ../OpenAdapt.app.zip OpenAdapt.app | ||
cd .. | ||
- name: Upload MacOS executable | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: OpenAdapt.app | ||
path: OpenAdapt.app.zip | ||
- name: Upload MacOS installer | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: OpenAdapt.dmg | ||
|
@@ -80,14 +88,22 @@ jobs: | |
cd ../../../ | ||
pip install wheel | ||
poetry run postinstall | ||
- name: Build executables | ||
- name: Build Windows executable | ||
run: | | ||
poetry run python -m openadapt.build | ||
- name: Upload executables | ||
cd dist | ||
7z a -tzip ../OpenAdapt.zip OpenAdapt | ||
cd .. | ||
- name: Upload Windows executable | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: OpenAdapt | ||
path: OpenAdapt.zip | ||
- name: Upload Windows installer | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: OpenAdapt_Installer | ||
path: OpenAdapt_Installer | ||
path: OpenAdapt_Installer.exe | ||
|
||
test_on_macos: | ||
name: Test on macOS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters