Alternatively, you may set up the workflow based on the example at the bottom of this page Configuration Replace the file with the Tauri Action production build workflow example. Go to the Actions tab on your GitHub project and choose "New workflow", then choose "Set up a workflow yourself". You can use this action on a repo that doesn't have Tauri configured since it automatically initializes Tauri before building and configuring it to use your artifacts. To set up Tauri Action you must first set up a GitHub repository. Windows Code Signing with GitHub Actions.To setup code signing for both Windows and macOS on your workflow, follow the specific guide for each platform: This GitHub Action may also be used as a testing pipeline for your Tauri app, guaranteeing compilation runs fine on all platforms for each pull request sent, even if you don't wish to create a new release. Tauri Action leverages GitHub Actions to simultaneously build your application as a Tauri native binary for macOS, Linux, and Windows, and automates creating a GitHub release. The pipeline can run the compilation for each platform simultaneously making the compilation and release process much easier.įor an easy setup, we currently provide Tauri Action, a GitHub Action that runs on all the supported platforms, compiles your software, generates the necessary artifacts, and uploads them to a new GitHub release. The next best option is to compile utilizing a CI/CD pipeline hosted on something like GitHub Actions, Azure Pipelines, GitLab, or other options. Tauri relies heavily on native libraries and toolchains, so meaningful cross-compilation is not possible at the current moment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |