-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease-tauri.yaml
More file actions
47 lines (42 loc) · 1.45 KB
/
Copy pathrelease-tauri.yaml
File metadata and controls
47 lines (42 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Release
run-name: Release ${{ inputs.bump }} for ${{ github.event.repository.name }}
# Dispatch-driven release for a Tauri desktop app. Run it from the Actions tab,
# pick patch / minor / major, and the reusable workflow handles the rest:
# version bump across all files, changelog, commit + tag on main, and signed
# builds for macOS (universal), Windows and Linux uploaded to the release.
on:
workflow_dispatch:
inputs:
bump:
description: "Version bump"
required: true
type: choice
options:
- patch
- minor
- major
prerelease:
description: "Mark as a pre-release"
type: boolean
default: false
dry_run:
description: "Build everything but skip commit, tag, release and uploads"
type: boolean
default: false
concurrency:
group: release
cancel-in-progress: false
permissions:
contents: write
jobs:
release:
uses: NoiXdev/github-workflows/.github/workflows/create_tauri_changelog_version_release.yaml@main
secrets: inherit
with:
bump: ${{ inputs.bump }}
prerelease: ${{ inputs.prerelease }}
dry_run: ${{ inputs.dry_run }}
# Optional: a repo script that builds/signs/notarizes the macOS bundle and
# prints `DMG=<path>` (e.g. one that embeds a WidgetKit extension). Remove
# this line to build macOS with tauri-action like Windows/Linux.
macos_build_script: scripts/macos-release.sh