diff --git a/.github/workflows/call-rust-tauri.yml b/.github/workflows/call-rust-tauri.yml index 2afc6b3..5156d0f 100644 --- a/.github/workflows/call-rust-tauri.yml +++ b/.github/workflows/call-rust-tauri.yml @@ -112,7 +112,7 @@ jobs: - name: install stable toolchain uses: dtolnay/rust-toolchain@stable with: - targets: ${{ matrix.settings.platform == 'macos-latest' && ((contains(matrix.settings.arg, 'x86_64') && 'x86_64-apple-darwin') || (contains(matrix.settings.arg, 'aarch64') && 'aarch64-apple-darwin')) || '' }} + targets: ${{ matrix.settings.platform == 'macos-latest' && (contains(matrix.settings.arg, 'x86_64') && 'x86_64-apple-darwin') || (contains(matrix.settings.arg, 'aarch64') && 'aarch64-apple-darwin') || '' }} - name: rust cache uses: swatinem/rust-cache@v2 diff --git a/templates/rust-tauri/extra.j2 b/templates/rust-tauri/extra.j2 index 6e2a1e9..44941d6 100644 --- a/templates/rust-tauri/extra.j2 +++ b/templates/rust-tauri/extra.j2 @@ -39,7 +39,7 @@ steps: - name: install stable toolchain uses: dtolnay/rust-toolchain@stable with: - targets: ${{ matrix.settings.platform == 'macos-latest' && ((contains(matrix.settings.arg, 'x86_64') && 'x86_64-apple-darwin') || (contains(matrix.settings.arg, 'aarch64') && 'aarch64-apple-darwin')) || '' }} + targets: ${{ matrix.settings.platform == 'macos-latest' && (contains(matrix.settings.arg, 'x86_64') && 'x86_64-apple-darwin') || (contains(matrix.settings.arg, 'aarch64') && 'aarch64-apple-darwin') || '' }} - name: rust cache uses: swatinem/rust-cache@v2