|
| 1 | +name: Desktop Release |
| 2 | + |
| 3 | +on: |
| 4 | + workflow_dispatch: |
| 5 | + inputs: |
| 6 | + version: |
| 7 | + description: 'Version number (e.g. 1.2.0)' |
| 8 | + required: true |
| 9 | + type: string |
| 10 | + |
| 11 | +jobs: |
| 12 | + build-macos: |
| 13 | + runs-on: macos-latest |
| 14 | + steps: |
| 15 | + - uses: actions/checkout@v4 |
| 16 | + - uses: subosito/flutter-action@v2 |
| 17 | + with: |
| 18 | + channel: stable |
| 19 | + - run: flutter pub get |
| 20 | + - run: flutter build macos --release |
| 21 | + - name: Zip macOS app |
| 22 | + run: | |
| 23 | + cd build/macos/Build/Products/Release |
| 24 | + zip -r Joey-macOS-v${{ inputs.version }}.zip "Joey.app" |
| 25 | + - uses: actions/upload-artifact@v4 |
| 26 | + with: |
| 27 | + name: macos-build |
| 28 | + path: build/macos/Build/Products/Release/Joey-macOS-v${{ inputs.version }}.zip |
| 29 | + |
| 30 | + build-windows: |
| 31 | + runs-on: windows-latest |
| 32 | + steps: |
| 33 | + - uses: actions/checkout@v4 |
| 34 | + - uses: subosito/flutter-action@v2 |
| 35 | + with: |
| 36 | + channel: stable |
| 37 | + - run: flutter pub get |
| 38 | + - run: flutter build windows --release |
| 39 | + - name: Zip Windows build |
| 40 | + shell: pwsh |
| 41 | + run: | |
| 42 | + Compress-Archive -Path "build\windows\x64\runner\Release\*" -DestinationPath "Joey-Windows-v${{ inputs.version }}.zip" |
| 43 | + - uses: actions/upload-artifact@v4 |
| 44 | + with: |
| 45 | + name: windows-build |
| 46 | + path: Joey-Windows-v${{ inputs.version }}.zip |
| 47 | + |
| 48 | + build-linux: |
| 49 | + runs-on: ubuntu-latest |
| 50 | + steps: |
| 51 | + - uses: actions/checkout@v4 |
| 52 | + - uses: subosito/flutter-action@v2 |
| 53 | + with: |
| 54 | + channel: stable |
| 55 | + - name: Install Linux build dependencies |
| 56 | + run: | |
| 57 | + sudo apt-get update |
| 58 | + sudo apt-get install -y cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev |
| 59 | + - run: flutter pub get |
| 60 | + - run: flutter build linux --release |
| 61 | + - name: Create tar.gz archive |
| 62 | + run: | |
| 63 | + cd build/linux/x64/release/bundle |
| 64 | + tar -czf Joey-Linux-v${{ inputs.version }}.tar.gz * |
| 65 | + - uses: actions/upload-artifact@v4 |
| 66 | + with: |
| 67 | + name: linux-build |
| 68 | + path: build/linux/x64/release/bundle/Joey-Linux-v${{ inputs.version }}.tar.gz |
| 69 | + |
| 70 | + release: |
| 71 | + needs: [build-macos, build-windows, build-linux] |
| 72 | + runs-on: ubuntu-latest |
| 73 | + permissions: |
| 74 | + contents: write |
| 75 | + steps: |
| 76 | + - uses: actions/download-artifact@v4 |
| 77 | + with: |
| 78 | + path: artifacts |
| 79 | + - name: Create GitHub Release |
| 80 | + uses: softprops/action-gh-release@v2 |
| 81 | + with: |
| 82 | + tag_name: v${{ inputs.version }} |
| 83 | + name: Joey v${{ inputs.version }} |
| 84 | + body: | |
| 85 | + ## Joey v${{ inputs.version }} — Desktop Builds |
| 86 | +
|
| 87 | + Desktop builds for Joey MCP Client. |
| 88 | +
|
| 89 | + ### Downloads |
| 90 | + - **macOS**: `Joey-macOS-v${{ inputs.version }}.zip` — Unzip and move Joey.app to Applications |
| 91 | + - **Windows**: `Joey-Windows-v${{ inputs.version }}.zip` — Unzip and run Joey.exe |
| 92 | + - **Linux**: `Joey-Linux-v${{ inputs.version }}.tar.gz` — Extract and run the joey binary |
| 93 | +
|
| 94 | + > **Note:** Windows and Linux builds are experimental. macOS, iOS, and Android are the primary supported platforms. |
| 95 | +
|
| 96 | + ### Mobile |
| 97 | + - iOS: [App Store](https://apps.apple.com/us/app/joey-mcp-client/id6759186174) |
| 98 | + - Android: [Google Play](https://play.google.com/store/apps/details?id=com.kaiserapps.joey) |
| 99 | + files: | |
| 100 | + artifacts/macos-build/* |
| 101 | + artifacts/windows-build/* |
| 102 | + artifacts/linux-build/* |
0 commit comments