Update build_mac.yml #4
Workflow file for this run
This file contains hidden or 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 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 |