want to see if this changes anything - and will run without admin #64
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
name: Build MorseWriter | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.11.4' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyinstaller | |
pip install -r requirements.txt | |
- name: Build with PyInstaller | |
run: | | |
pyinstaller --clean MorseCodeGUI.spec | |
- name: Download Inno Setup | |
run: | | |
choco install innosetup --yes | |
- name: Build Installer | |
run: | | |
Start-Process -FilePath "C:\\Program Files (x86)\\Inno Setup 6\\ISCC.exe" -ArgumentList "MorseWriterInstaller.iss" -Wait | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: morsewriter-installer | |
path: Output/MorseWriter-Installer.exe |