This repository was archived by the owner on Nov 30, 2025. It is now read-only.
fix owner #3
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 App | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'docs/**' | |
| workflow_dispatch: | |
| release: | |
| types: [published] | |
| jobs: | |
| build: | |
| name: Build ARM64 | |
| runs-on: macos-26 | |
| if: github.repository_owner == 'intsant' | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.14 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.14.0' | |
| - name: Install Dependencies | |
| run: | | |
| brew install upx | |
| /Library/Frameworks/Python.framework/Versions/3.14/bin/python3 -m pip install --ignore-requires-python -r requirements.txt | |
| - name: Build Apps | |
| run: | | |
| /Library/Frameworks/Python.framework/Versions/3.14/bin/python3 build_project_arm64.py | |
| - name: Create (Pre-)Release on Push | |
| if: github.event_name == 'push' | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: 2.1.0A2 | |
| name: 2.1.0 Alpha 2 | |
| body: ${{ github.event.head_commit.message }} | |
| prerelease: true | |
| files: | | |
| ./dist/Converter_arm64_darwin.zip | |
| build_intel: | |
| name: Build Intel | |
| runs-on: macos-15-intel | |
| if: github.repository_owner == 'pyquick' | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.14 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.14.0' | |
| - name: Install Dependencies | |
| run: | | |
| /Library/Frameworks/Python.framework/Versions/3.14/bin/python3 -m pip install --ignore-requires-python -r requirements.txt | |
| - name: Build Apps | |
| run: | | |
| /Library/Frameworks/Python.framework/Versions/3.14/bin/python3 build_project_intel.py | |
| - name: Create (Pre-)Release on Push | |
| if: github.event_name == 'push' | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: 2.1.0A2 | |
| name: 2.1.0 Alpha 2 | |
| body: ${{ github.event.head_commit.message }} | |
| prerelease: true | |
| files: | | |
| ./dist/Converter_intel_darwin.zip |