forked from svenstaro/upload-release-action
-
Notifications
You must be signed in to change notification settings - Fork 14
/
action.yml
42 lines (42 loc) · 1.83 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
name: "Upload files to a GitHub release (Termux's fork)"
description: 'Upload files to a GitHub release (cross-platform)'
author: 'Termux Maintainers'
branding:
icon: archive
color: orange
inputs:
repo_token:
description: 'GitHub token.'
required: true
file:
description: 'Local file to upload.'
required: true
tag:
description: 'Tag to use as a release.'
required: true
asset_name:
description: 'Name of the asset. When not provided will use the file name. Unused if file_glob is set to "true".'
overwrite:
description: 'Overwrite the release in case it already exists.'
file_glob:
description: 'If true the file can be a glob pattern, asset_name is ignored if this is true.'
skip_if_no_glob_match:
description: 'If set to true, upload-release-action will skip if file_glob does not match any files. Ignored if file_glob is not set'
prerelease:
description: 'Mark the release as a pre-release. Defaults to "false".'
release_name:
description: 'Explicitly set a release name. Defaults to empty which will cause the release to take the tag as name on GitHub.'
body:
description: 'Content of the release text. Empty by default.'
repo_name:
description: 'Specify the name of the GitHub repository in which the GitHub release will be created, edited, and deleted. If the repository is other than the current, it is required to create a personal access token with `repo`, `user`, `admin:repo_hook` scopes to the foreign repository and add it as a secret. Defaults to the current repository'
checksums:
description: 'List of cryptographic checksums to calculate'
checksums_file_name:
description: 'Filename format of checksums files'
outputs:
browser_download_urls:
description: 'Array of publicly available URLs of the assets.'
runs:
using: 'node20'
main: 'dist/index.js'