building-tauri-with-github-actions

Configures GitHub Actions CI/CD pipelines for building and releasing Tauri desktop applications.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/dt418/better-shot-x --skill building-tauri-with-github-actions-dt418
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: building-tauri-with-github-actions
Source: https://github.com/dt418/better-shot-x/tree/main/.agents/skills/building-tauri-with-github-actions
Command: npx skills add https://github.com/dt418/better-shot-x --skill building-tauri-with-github-actions-dt418

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up cross-platform CI/CD for Tauri apps is error-prone: developers must juggle platform matrices, Linux system dependencies, Rust toolchains, caching, code signing secrets, and release automation. This Skill provides ready-to-adapt workflow configurations that handle all of these concerns. ## Core Features & Use Cases - Multi-Platform Build Matrices: Preconfigured GitHub Actions matrices for macOS (ARM and Intel), Ubuntu, and Windows using the official tauri-apps/tauri-action. - Release Automation: Tag-based and branch-based release workflows with draft releases, version placeholders, and artifact uploads. - Optimization & Signing: Rust and Node dependency caching, package manager variants (npm, pnpm, yarn), ARM build options, and macOS/Windows code signing environment setup. - Use Case: You have a Tauri app in a monorepo at apps/desktop and want every push to the release branch to produce signed installers for all platforms as a draft GitHub release. ## Quick Start Set up a GitHub Actions workflow that builds my Tauri app for macOS, Linux, and Windows and creates a draft release on each push to the release branch.

Frequently Asked Questions about building-tauri-with-github-actions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Tauri app with GitHub Actions?

Use the official tauri-apps/tauri-action in a workflow with a platform matrix covering macos-latest, ubuntu-22.04, and windows-latest. The action builds the app and can create a GitHub release with the generated installers automatically.

How do I create GitHub releases for Tauri apps automatically?

Configure tauri-action with tagName, releaseName, and releaseBody options, using the __VERSION__ placeholder which is replaced with the version from tauri.conf.json. Set releaseDraft to true to review releases before publishing.

What Linux dependencies does a Tauri GitHub Actions build need?

Ubuntu runners require libwebkit2gtk-4.1-dev, libappindicator3-dev, librsvg2-dev, and patchelf installed via apt-get. Add a conditional step that runs only on the Ubuntu matrix entry to install these packages.

Can I build Tauri apps for ARM64 Linux in GitHub Actions?

Public repositories can use the ubuntu-22.04-arm runner for native ARM64 builds. Private repositories can emulate ARM builds with pguyot/arm-runner-action, though emulated builds take roughly an hour.

Why does my Tauri release fail with permission denied?

The workflow needs contents: write permission in the job configuration, and the repository settings must allow Actions read and write permissions under Settings > Actions > General. The GITHUB_TOKEN is then sufficient for release creation.

How do I sign macOS and Windows Tauri builds in CI?

Pass signing secrets as environment variables to tauri-action: APPLE_CERTIFICATE, APPLE_SIGNING_IDENTITY, APPLE_ID, and related values for macOS, and TAURI_SIGNING_PRIVATE_KEY with its password for Windows updater signatures.