fix: no signing for mac development #8
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 Artifacts | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| cache: 'npm' | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Python dependencies | |
| run: pip install -r requirements.txt | |
| - name: Install FFmpeg | |
| run: | | |
| choco install ffmpeg -y | |
| echo "FFmpeg installed successfully" | |
| - name: Build Windows application | |
| run: npm run build:win | |
| - name: Upload Windows artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: windows-build | |
| path: | | |
| dist/*.exe | |
| dist/*.blockmap | |
| dist/win-unpacked/ | |
| retention-days: 30 | |
| build-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| cache: 'npm' | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Python dependencies | |
| run: pip install -r requirements.txt | |
| - name: Install FFmpeg | |
| run: | | |
| brew install ffmpeg | |
| echo "FFmpeg installed successfully" | |
| - name: Build macOS application | |
| run: npm run build:mac | |
| - name: Upload macOS artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: macos-build | |
| path: | | |
| dist/*.dmg | |
| dist/*.blockmap | |
| dist/mac/ | |
| retention-days: 30 |