forked from tauri-apps/tauri-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
71 lines (71 loc) · 2.95 KB
/
action.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: 'tauri-action'
description: 'Build tauri binaries for MacOS, Windows and Linux'
icon: 'download-cloud'
color: 'blue'
author: 'Lucas Nogueira <[email protected]>'
inputs:
releaseId:
description: 'The id of the release to upload artifacts as release assets'
tagName:
description: 'The tag name of the release to create'
releaseName:
description: 'The name of the release to create'
releaseBody:
description: 'The body of the release to create'
releaseDraft:
description: 'Whether the release to create is a draft or not'
default: false
prerelease:
description: 'Whether the release to create is a prerelease or not'
default: false
releaseCommitish:
description: 'Any branch or commit SHA the Git tag is created from, unused if the Git tag already exists. Default: SHA of current commit'
projectPath:
description: 'path to the root of the project that will be built'
default: '.'
distPath:
description: 'path to the distributable folder with your index.html and JS/CSS'
iconPath:
description: 'path to the PNG icon to use as app icon, relative to the projectPath'
appName:
description: 'the app name to inject when initializing the Tauri app. Required if the name is not set via the `--config` flag.'
appVersion:
description: 'the app version to inject when initializing the Tauri app. Required if the version is not set via the `--config` flag.'
includeDebug:
description: 'whether to include a debug build or not'
default: false
includeRelease:
description: 'whether to include a release build or not'
default: true
includeUpdaterJson:
description: 'whether to upload a static JSON file for the updater using GitHub Releases as the CDN'
default: true
updaterJsonPreferNsis:
description: 'whether the action will use the NSIS (setup.exe) or WiX (.msi) bundles for the updater JSON if both types exist. Will default to false for Tauri v1 and true for Tauri v2+'
updaterJsonKeepUniversal:
description: 'whether the updater JSON file should add universal macOS as darwin-universal on top of using it in the darwin-aarch64 and darwin-x86_64 fields if no native builds exist.'
default: false
tauriScript:
description: 'the script to run to build the Tauri app'
args:
description: 'arguments for the tauri command'
bundleIdentifier:
description: 'the bundle identifier to inject when initializing the Tauri app'
owner:
description: 'The account owner of the repository'
repo:
description: 'The name of the repository'
outputs:
releaseId:
description: 'The ID of the created release'
releaseHtmlUrl:
description: 'The URL users can navigate to in order to view the created release'
releaseUploadUrl:
description: 'The URL for uploading assets to the created release'
artifactPaths:
description: 'The paths of the generated artifacts'
appVersion:
description: 'The version of the app'
runs:
using: 'node20'
main: 'dist/index.js'