Skip to content

v0.1.5

v0.1.5 #13

Workflow file for this run

# This workflows will create a standalone executable for macOS.
name: Create Standalone (macOS)
on:
release:
types: [published]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Create executable
run: |
source .venv/bin/activate
pip install pyinstaller
pyinstaller start_gui.spec
zip osb_gui_macos.zip ./dist/start_gui
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: /Users/runner/work/open-sync-board-gui/open-sync-board-gui/osb_gui_macos.zip
asset_name: osb_gui_macos.zip
asset_content_type: application/zip