You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can currently build for aarch64 targets by using a self-hosted action runner on an apple silicone mac.
The problem is that all the paths aren't automatically recognized:
In this case only Project.app is recognized but Project_0.1.21_aarch64.dmg is ignored because aarch64 doesn't match process.arch
used in the code here:
specifically /target/universal-apple-darwin/release/bundle/macos/ doesn't match /target/release/bundle/macos/
Possible solutions:
add an environment variable/parameter for arch and then fall back on process.arch if not defined and add universal-apple-darwin, x86_64-apple-darwin, aarch64-apple-darwin as a possible path to look for artifacts.
add environment variables/parameters for the full path of each of the artifacts
The text was updated successfully, but these errors were encountered:
I can currently build for aarch64 targets by using a self-hosted action runner on an apple silicone mac.
The problem is that all the paths aren't automatically recognized:
In this case only
Project.app
is recognized butProject_0.1.21_aarch64.dmg
is ignored becauseaarch64
doesn't matchprocess.arch
used in the code here:
tauri-action/packages/core/index.ts
Line 248 in 9816b49
Similarly I can build universal apps:
But the problem here is that tauri-action doesn't recognize any of the artifacts because they don't match the expected path names
specifically
/target/universal-apple-darwin/release/bundle/macos/
doesn't match/target/release/bundle/macos/
Possible solutions:
process.arch
if not defined and adduniversal-apple-darwin
,x86_64-apple-darwin
,aarch64-apple-darwin
as a possible path to look for artifacts.The text was updated successfully, but these errors were encountered: