NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] macOS x86_64 和 aarch64 产生的artifacts名称相同,会互相覆盖

Open ZacharyJia opened this issue 2 years ago • 9 comments

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开始。

ZacharyJia avatar Jul 04 '23 03:07 ZacharyJia

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

Issues-translate-bot avatar Jul 04 '23 03:07 Issues-translate-bot

tauri actions 不支持重命名产物,挺蛋疼的

Yidadaa avatar Jul 04 '23 03:07 Yidadaa

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

Issues-translate-bot avatar Jul 04 '23 03:07 Issues-translate-bot

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的,有可能这里也需要调整?

ZacharyJia avatar Jul 04 '23 04:07 ZacharyJia

哪里能下载到 aarch64 版本?

vangie avatar Sep 20 '23 08:09 vangie

Bot detected the issue body's language is not English, translate it automatically.


Where can I download the aarch64 version?

Issues-translate-bot avatar Sep 20 '23 08:09 Issues-translate-bot

可以先自己编译凑合用

# install rust by your self
yarn add -D @tauri-apps/cli
yarn tauri build --target aarch64-apple-darwin

SDGLBL avatar Nov 08 '23 03:11 SDGLBL

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

Issues-translate-bot avatar Nov 08 '23 03:11 Issues-translate-bot

@Yidadaa 我开了一个让 action 构建 universal binary 的 PR #3711

shirok1 avatar Dec 30 '23 15:12 shirok1