Update macos-build.yml #9
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 macOS Executable | |
on: [push] | |
jobs: | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install dependencies from requirements.txt | |
run: | | |
python -m pip install --upgrade pip | |
pip install pandas tk ttkbootstrap | |
- name: Install PyInstaller | |
run: | | |
pip install pyinstaller | |
- name: Build macOS Executable | |
run: | | |
pyinstaller --onefile --windowed --add-data="index_database.tsv:." --add-data="header.tsv:." --add-data="EXAMPLE_PLATES.xlsx:." --add-data="ICON.ico:." --icon="ICON.ico" GenerateMiSeqManifest.py | |
- name: Upload Build Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: macos-executable | |
path: dist/ |