Merge pull request #63 from Stereo101/ignore-pycache #14
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 project and draft release | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
build-windows: | |
name: Windows Build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: pip install keyboard pyinstaller | |
- name: Build MIDI converter | |
run: pyinstaller --onefile pyMIDI.py | |
- name: Build player | |
run: pyinstaller --onefile playSong.py | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Windows | |
path: dist |