-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved installer to different github workflow
- Loading branch information
1 parent
1c54e54
commit 51c54eb
Showing
3 changed files
with
32 additions
and
41 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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
windows-installer: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.8" | ||
|
||
- name: Install package and dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install . pyinstaller | ||
- name: Install Inno Setup | ||
uses: crazy-max/ghaction-chocolatey@v1 | ||
with: | ||
args: install innosetup -y --allow-unofficial --force | ||
|
||
- name: Run pyinstaller | ||
run: pyinstaller ./ms2rescore.spec --clean --noconfirm | ||
|
||
- name: Test built exe | ||
run: dist/ms2rescore/ms2rescore.exe | ||
|
||
- name: Run Inno Setup | ||
run: ISCC.exe ./ms2rescore_innosetup.iss /DMyAppVersion=$(ms2rescore -v) |
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