diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ca5e7e2f6..cb8db2b36 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -21,9 +21,10 @@ jobs: # - platform: 'macos-latest' # for Intel based macs. # args: '--target x86_64-apple-darwin' - platform: 'ubuntu-22.04' - args: '' + args: '--target x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu' + # temporarily removed for testing - platform: 'windows-latest' - args: '' + args: '--target x86_64-pc-windows-msvc,aarch64-pc-windows-msvc' runs-on: ${{ matrix.platform }} steps: @@ -37,8 +38,7 @@ jobs: - name: install Rust stable uses: dtolnay/rust-toolchain@stable with: - # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. - targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} + targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || matrix.platform == 'windows-latest' && 'x86_64-pc-windows-msvc,aarch64-pc-windows-msvc' || matrix.platform == 'ubuntu-22.04' && 'x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu' || '' }} - name: install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index dd99b68f3..5db0738d2 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -23,7 +23,7 @@ }, "bundle": { "active": true, - "targets": "all", + "targets": ["deb", "nsis", "dmg"], "icon": [ "icons/32x32.png", "icons/128x128.png",