-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yaml
More file actions
125 lines (92 loc) · 4.33 KB
/
action.yaml
File metadata and controls
125 lines (92 loc) · 4.33 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
name: 'makepad-packaging-action'
description: 'Build And Release Makepad Apps, including MacOS, Windows, Linux, Android and iOS, using GitHub Actions.'
author: 'Tyrese Luo <tyreseluo@outlook.com>'
branding:
icon: 'box'
color: 'blue'
inputs:
args:
description: 'Arguments for the `cargo build <args>` and `cargo makepad <args>` commands. For example, `--release --target x86_64-pc-windows-msvc`.'
packager_formats:
description: 'Comma-separated formats for `cargo packager` (e.g., deb,dmg,nsis).'
packager_args:
description: 'Extra arguments passed only to `cargo packager` (e.g., `--verbose`).'
tagName:
description: 'GitHub Release tag name. Supports `__VERSION__` placeholder.'
releaseName:
description: 'GitHub Release name. Supports `__VERSION__` placeholder.'
releaseBody:
description: 'GitHub Release body markdown.'
releaseId:
description: 'Existing GitHub Release ID. When provided, assets are uploaded to this release and no new release is created.'
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.'
uploadUpdaterJson:
description: 'Whether to upload/update latest.json updater metadata on the release.'
default: 'true'
uploadUpdaterSignatures:
description: 'Whether to upload .sig files (if present next to built assets) and include them in updater JSON.'
default: 'true'
retryAttempts:
description: 'Additional retry attempts for uploading release assets and updater JSON when transient API conflicts happen.'
default: '0'
owner:
description: 'The account owner of the repository to publish release assets to. Defaults to current repository owner.'
repo:
description: 'The repository name to publish release assets to. Defaults to current repository name.'
githubBaseUrl:
description: 'The base URL of the GitHub API to use (for GitHub Enterprise/GHE-like APIs).'
generateReleaseNotes:
description: "Whether to use GitHub's Release Notes API when creating a new release."
default: 'false'
releaseAssetNamePattern:
description: 'Naming pattern for uploaded release assets (e.g. [app]-[version]-[platform]-[arch]-[mode].[ext]).'
asset_name_template:
description: 'Template for release asset names. Supports __APP__, __VERSION__, __PLATFORM__, __ARCH__, __MODE__, __EXT__, __FILENAME__, __BASENAME__.'
asset_prefix:
description: 'Optional prefix prepended to generated asset names.'
releaseDraft:
description: 'Create the release as a draft.'
default: 'false'
prerelease:
description: 'Mark the release as a prerelease.'
default: 'false'
github_token:
description: 'GitHub token for creating releases and uploading assets. Defaults to env GITHUB_TOKEN.'
app_name:
description: 'The name of the makepad app. If not provided, Mobile will be inferred from `Cargo.toml` name field, Desktop will be inferred from `cargo-packager` product_name field.'
app_version:
description: 'The version of the makepad app. If not provided, it will be inferred from `Cargo.toml` version field.'
identifier:
description: 'The bundle identifier for the app (e.g., com.example.makepadapp).'
project_path:
description: 'The path to the Makepad project. Defaults to the root of the repository.'
default: '.'
projectPath:
description: 'Alias of project_path.'
include_release:
description: 'Whether to include the release build (default: true)'
default: 'true'
include_debug:
description: 'Whether to include the debug build (default: false)'
default: 'false'
upload_to_testflight:
description: 'Whether to upload iOS IPA to TestFlight (default: false). This input takes precedence over MAKEPAD_IOS_UPLOAD_TESTFLIGHT.'
default: 'false'
enable_macos_notarization:
description: 'Whether to enable macOS notarization credential mapping from APP_STORE_CONNECT_* vars (default: false).'
default: 'false'
outputs:
artifacts:
description: 'JSON array of artifacts built by the action.'
app_name:
description: 'Resolved app name.'
app_version:
description: 'Resolved app version.'
release_id:
description: 'GitHub Release ID used for upload (if any).'
release_url:
description: 'GitHub Release URL (if created).'
runs:
using: node24
main: 'dist/index.js'