エラー内容

にて発生。

Run tauri-apps/tauri-action@42e9df6c59070d114bf90dcd3943a1b8f138b113
running npm [ 'run', 'tauri', 'build', '--', '--target', 'aarch64-apple-darwin' ]

> cuuri@0.2.5 tauri
> tauri build --target aarch64-apple-darwin

    Running beforeBuildCommand `npm run build`

> cuuri@0.2.5 build
> vue-tsc --noEmit && vite build

vite v6.2.2 building for production...
transforming...
✓ 102 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                   0.48 kB │ gzip:   0.30 kB
dist/assets/index-tK7EUtyc.css  233.39 kB │ gzip:  30.83 kB
dist/assets/index-BKWoi0hE.js   301.27 kB │ gzip: 107.99 kB
✓ built in 952ms
    Updating crates.io index
 Downloading crates ...
  Downloaded cargo_toml v0.22.1
  Downloaded tauri-build v2.1.0
  Downloaded tauri-utils v2.3.0
  Downloaded uuid v1.15.1
  Downloaded reqwest v0.12.14
   Compiling tauri-utils v2.3.0
   Compiling cargo_toml v0.22.1
   Compiling tauri-runtime v2.4.0
   Compiling tauri-build v2.1.0
   Compiling tauri-plugin v2.0.2
error[E0308]: mismatched types
   --> /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tauri-plugin-2.0.2/src/build/mod.rs:140:58
    |
140 |       tauri_utils::plugin::define_global_api_script_path(path);
    |       -------------------------------------------------- ^^^^ expected `&Path`, found `PathBuf`
    |       |
    |       arguments to this function are incorrect
    |
note: function defined here
   --> /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tauri-utils-2.3.0/src/plugin.rs:22:10
    |
22  |   pub fn define_global_api_script_path(path: &Path) {
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: consider borrowing here
    |
140 |       tauri_utils::plugin::define_global_api_script_path(&path);
    |                                                          +

For more information about this error, try `rustc --explain E0308`.
error: could not compile `tauri-plugin` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
failed to build app: failed to build app
    Error failed to build app: failed to build app
Error: Command "npm ["run","tauri","build","--","--target","aarch64-apple-darwin"]" failed with exit code 1