A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
ci: add desktop app release workflow for macOS and Windows
esengine9090282e2e06
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.ymlnew file mode 100644index 000000000..83adcb5f0--- /dev/null+++ b/.github/workflows/release-desktop.yml@@ -0,0 +1,56 @@+name: Release Desktop App++on:+ push:+ tags:+ - 'v*'++jobs:+ release:+ strategy:+ fail-fast: false+ matrix:+ include:+ - platform: macos-latest+ args: --target universal-apple-darwin+ - platform: windows-latest+ args: ''++ runs-on: ${{ matrix.platform }}+ permissions:+ contents: write++ steps:+ - uses: actions/checkout@v4+ with:+ submodules: recursive++ - uses: actions/setup-node@v4+ with:+ node-version: 20++ - uses: pnpm/action-setup@v4+ with:+ version: 9++ - uses: dtolnay/rust-toolchain@stable++ - name: Add macOS universal target+ if: matrix.platform == 'macos-latest'+ run: rustup target add x86_64-apple-darwin++ - name: Install dependencies+ run: pnpm install++ - name: Build workspace packages+ run: pnpm --filter esengine build && pnpm --filter @esengine/editor build++ - uses: tauri-apps/tauri-action@v0+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ with:+ projectPath: desktop+ tagName: v__VERSION__+ releaseName: ESEngine Editor v__VERSION__+ releaseDraft: false+ args: ${{ matrix.args }}