When building with github CI, rename
command uses wrong path for macos aarch64 target
#8311
-
I'm trying to build releases using github CI here: https://github.com/olegus199/MDog/actions/runs/7003825406/job/19050313058, - os: macos-latest
target: aarch64-apple-darwin
# {..other settings here..}
- name: Build application
run: pnpm tauri build -- --target ${{ matrix.target }} -v But when rust build finished, there are some │ ├── target
│ │ ├── CACHEDIR.TAG
│ │ ├── aarch64-apple-darwin
│ │ │ ├── CACHEDIR.TAG
│ │ │ └── release
│ │ │ ├── app Please advise how can I fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Try removing the extra |
Beta Was this translation helpful? Give feedback.
Try removing the extra
--
, typically only npm needs that. Using it with pnpm will forward it to cargo instead of tauri so that tauri doesn't know about the target flag.