[Bug] macOS x86_64 和 aarch64 产生的artifacts名称相同,会互相覆盖
Describe the bug Action中的macOS的两个编译平台,产生的编译产物名称相同,在上传到release的时候,后运行的会先删除之前的产物,然后上传自己的。
可以参考 https://github.com/Yidadaa/ChatGPT-Next-Web/actions/runs/5447005645/jobs/9908507703 中,tauri-apps/tauri-action@v0 这个step的日志L541开始。
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] The artifacts generated by macOS x86_64 and aarch64 have the same name and will overwrite each other
tauri actions 不支持重命名产物,挺蛋疼的
Bot detected the issue body's language is not English, translate it automatically.
Tauri actions don’t support renaming products, it’s a pain in the ass
tauri actions 不支持重命名产物,挺蛋疼的
最新的dev版本似乎已经将arm的arch改为aarch64, 这样应该不会重名了吧。 https://github.com/tauri-apps/tauri-action/blob/dev/src/build.ts#L87-L89
不知道还有没有别的问题。
我怎么看前面安装rust的日志里,即使在macos-aarch64上,host显示的还是x86_64的,有可能这里也需要调整?
哪里能下载到 aarch64 版本?
Bot detected the issue body's language is not English, translate it automatically.
Where can I download the aarch64 version?
可以先自己编译凑合用
# install rust by your self
yarn add -D @tauri-apps/cli
yarn tauri build --target aarch64-apple-darwin
Bot detected the issue body's language is not English, translate it automatically.
You can compile it yourself first and use it
# install rust by your self
yarn add -D @tauri-apps/cli
yarn tauri build --target aarch64-apple-darwin
@Yidadaa 我开了一个让 action 构建 universal binary 的 PR #3711