I need to provide an environment variable trough different ways;
- from local environment while I run the app via command line (
tauri dev,tauri build) - from GitHub Actions while building the app
So far, I have found this answer https://github.com/tauri-apps/tauri/discussions/2873#discussioncomment-4333701
It uses a command to fetch variable with std::env::var(name) and pass it to FE with a Tauri command. But I'm only troubling to understand the mechanism for the two use cases mentioned above.