Skip to content

Update build_mac.yml #4

Update build_mac.yml

Update build_mac.yml #4

Workflow file for this run

name: Build macOS App (Apple Silicon)
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
build-macos:
runs-on: macos-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup Python (ARM)
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: Build macOS App
run: |
pyinstaller \
--noconfirm \
--windowed \
--name "AutoBotGUI" \
--add-data "cookie_guide.png:." \
auto_gui_package.py
- name: Zip app
run: |
cd dist
ditto -c -k --sequesterRsrc --keepParent AutoBotGUI.app AutoBotGUI-macos-arm64.zip
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: AutoBotGUI-macOS
path: dist/AutoBotGUI-macos-arm64.zip