#Workflow failing

7 messages · Page 1 of 1 (latest)

devout wraith
#

I want to build my app with a github action but the tauri-apps/tauri-action@v0 fails with the error shown in the image. I have used the example workflow from https://tauri.app/v1/guides/building/cross-platform#example-workflow.

Tauri relies heavily on native libraries and toolchains, so meaningful cross-compilation is not possible at the current moment. The next best option is to compile utilizing a CI/CD pipeline hosted on something like [GitHub Actions], Azure Pipelines, GitLab, or other options. The pipeline can run the compilation for each platform simultaneously m...

stiff obsidian
#

can you share your project structure? the projectPath config looks a bit weird at first glance

devout wraith
#

sure.
xxx
|_.github
|_workflows
|_release.yml
|_sources
|_client
|src-tauri
|
(other rust projects)
|_sast-api (backend code)
|_tauri.conf.json
|_target

#

@stiff obsidian do you need other information or have a better idea to share the project structure

stiff obsidian
#

cool thanks, try setting the projectPath to just ./sources/client

#

to explain why: defaults.run.working-directory has no effect on uses: steps, only on run: steps. A bit confusing 😅