diff --git a/.github/workflows/on-tag.yaml b/.github/workflows/on-tag.yaml index 57d264b5..6bd47a65 100644 --- a/.github/workflows/on-tag.yaml +++ b/.github/workflows/on-tag.yaml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-20.04, windows-latest] + platform: [macos-latest, ubuntu-20.04] runs-on: ${{ matrix.platform }} @@ -27,7 +27,6 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - rustup target add aarch64-unknown-linux-gnu - name: Install missing Rust target for universal Mac build if: matrix.platform == 'macos-latest' @@ -102,8 +101,7 @@ jobs: releaseDraft: false includeDebug: true updaterJsonKeepUniversal: true - args: '--target universal-apple-darwin' - + args: ${{matrix.platform == 'ubuntu-20.04' && '--target x86_64-unknown-linux-gnu' || '--target universal-apple-darwin'}} # Commit package.json, tauri.conf.json and Cargo.toml to master - name: Commit & Push run: |