Merge branch 'dev' #22
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: Latest | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: Build ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v6 | |
| - name: Set Up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24.10.0' | |
| - name: Git SSH fix | |
| run: | | |
| git config --global url."https://github.com/".insteadOf git@github.com: | |
| git config --global url."https://".insteadOf git:// | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| cache: true | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Build Web | |
| run: pnpm run build:web | |
| - name: Build Electron App | |
| run: pnpm run build | |
| - name: Upload Linux Artifacts | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: linux-release-assets-${{ github.sha }} | |
| path: release/make/zip/linux/x64/jm-desktop-*.zip | |
| - name: Upload Windows Artifacts | |
| if: matrix.os == 'windows-latest' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: windows-release-assets-${{ github.sha }} | |
| path: release/make/zip/win32/x64/jm-desktop-*.zip |